public class GQLToken extends net.morimekta.util.lexer.Token<GQLTokenType>
| Modifier and Type | Field and Description |
|---|---|
static char |
kDirective |
static char |
kEntrySep |
static char |
kFieldValueSep |
static char |
kKeyValueSep |
static char |
kListEnd |
static char |
kListStart |
static char |
kMessageEnd |
static char |
kMessageStart |
static char |
kParamsEnd |
static char |
kParamsStart |
static char |
kVariable |
| Constructor and Description |
|---|
GQLToken(char[] fb,
int off,
int len,
GQLTokenType type,
int lineNo,
int linePos)
Create a slice instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDirectve() |
boolean |
isIdentifier() |
boolean |
isString() |
boolean |
isVariable() |
decodeString, equals, hashCode, isSymbol, line, lineNo, linePos, typeasString, charAt, compareTo, contains, contains, containsAny, length, offset, parseDouble, parseInteger, strEquals, strEquals, subSequence, substring, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointspublic static final char kMessageStart
public static final char kMessageEnd
public static final char kKeyValueSep
public static final char kFieldValueSep
public static final char kParamsStart
public static final char kParamsEnd
public static final char kListStart
public static final char kListEnd
public static final char kEntrySep
public static final char kDirective
public static final char kVariable
public GQLToken(char[] fb,
int off,
int len,
@Nonnull
GQLTokenType type,
int lineNo,
int linePos)
fb - The buffer to wrap.off - The start offset to wrap.len - The length to represent.type - The token type represented.lineNo - The current line number.linePos - The current line position.Copyright © 2015–2020 morimekta.net. All rights reserved.