| Package | Description |
|---|---|
| cz.vutbr.web.csskit.antlr4 |
| Modifier and Type | Method and Description |
|---|---|
static CSSToken.TypeMapper |
CSSToken.createDefaultTypeMapper(Class<? extends org.antlr.v4.runtime.Lexer> lexerClass) |
CSSToken.TypeMapper |
CSSToken.TypeMapper.inverse() |
| Constructor and Description |
|---|
CSSToken(int type,
CSSLexerState state,
CSSToken.TypeMapper typeMapper)
Creates CSSToken of given type with cloning lexer state
automatically
|
CSSToken(int type,
CSSLexerState state,
int start,
int stop,
CSSToken.TypeMapper typeMapper)
Creates CSSToken of given type with cloning lexer state
automatically, allows to set text boundaries in input stream
|
CSSToken(org.antlr.v4.runtime.misc.Pair<org.antlr.v4.runtime.TokenSource,org.antlr.v4.runtime.CharStream> input,
int type,
int channel,
int start,
int stop,
CSSToken.TypeMapper typeMapper)
Creates CSSToken, this is base
emit() constructor |
Copyright © 2019. All rights reserved.