- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsBracket (0.43 sec)
-
src/vendor/golang.org/x/text/unicode/bidi/prop.go
c := Class(p.entry & 0x0F) if c == Control { c = controlByteToClass[p.last&0xF] } return c } // IsBracket reports whether the rune is a bracket. func (p Properties) IsBracket() bool { return p.entry&0xF0 != 0 } // IsOpeningBracket reports whether the rune is an opening bracket. // IsBracket must return true. func (p Properties) IsOpeningBracket() bool { return p.entry&openMask != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 5.7K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/bidi/bidi.go
return bytecount, nil } p.types = append(p.types, cls) if props.IsOpeningBracket() { p.pairTypes = append(p.pairTypes, bpOpen) p.pairValues = append(p.pairValues, r) } else if props.IsBracket() { // this must be a closing bracket, // since IsOpeningBracket is not true p.pairTypes = append(p.pairTypes, bpClose) p.pairValues = append(p.pairValues, r) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 10.3K bytes - Viewed (0)