()
| 109 | } |
| 110 | |
| 111 | func (t token) String() string { |
| 112 | return fmt.Sprintf("Token{%+v, %s, %d, %d}", |
| 113 | t.tokenType, t.value, t.position, t.length) |
| 114 | } |
| 115 | |
| 116 | // NewLexer creates a new JMESPath lexer. |
| 117 | func NewLexer() *Lexer { |
no outgoing calls
no test coverage detected