text/template/parse.lexer.accept (method)
12 uses
text/template/parse (current package)
lex.go#L170: func (l *lexer) accept(valid string) bool {
lex.go#L585: l.accept("+-")
lex.go#L588: if l.accept("0") {
lex.go#L590: if l.accept("xX") {
lex.go#L592: } else if l.accept("oO") {
lex.go#L594: } else if l.accept("bB") {
lex.go#L599: if l.accept(".") {
lex.go#L602: if len(digits) == 10+1 && l.accept("eE") {
lex.go#L603: l.accept("+-")
lex.go#L606: if len(digits) == 16+6+1 && l.accept("pP") {
lex.go#L607: l.accept("+-")
lex.go#L611: l.accept("i")
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |