T - public interface Token<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Token.TokenType |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndIndex() |
String |
getLexeme() |
int |
getLineNo() |
<V> V |
getMeta(String name) |
<V> V |
getMeta(String name,
V defaultVal) |
Map<String,Object> |
getMetaMap() |
int |
getStartIndex() |
Token.TokenType |
getType() |
T |
getValue(Map<String,Object> env) |
Token<T> |
withMeta(String name,
Object v) |
<V> V getMeta(String name, V defaultVal)
<V> V getMeta(String name)
Token.TokenType getType()
String getLexeme()
int getStartIndex()
int getEndIndex()
int getLineNo()
Copyright © 2010–2022. All rights reserved.