Uses of Interface
com.sonar.sslr.api.TokenType
-
Packages that use TokenType Package Description com.sonar.sslr.api com.sonar.sslr.api.typed com.sonar.sslr.impl.channel com.sonar.sslr.impl.matcher com.sonarsource.cobol.api org.sonar.sslr.grammar API to define Parsing Expression Grammar.org.sonar.sslr.internal.vm org.sonar.sslr.internal.vm.lexerful Members of this package must not be used from outside of SSLR.org.sonar.sslr.parser -
-
Uses of TokenType in com.sonar.sslr.api
Classes in com.sonar.sslr.api that implement TokenType Modifier and Type Class Description class
GenericTokenType
Methods in com.sonar.sslr.api that return TokenType Modifier and Type Method Description TokenType
Token. getType()
Methods in com.sonar.sslr.api with parameters of type TokenType Modifier and Type Method Description void
LexerOutput. addTokenAndProcess(TokenType tokenType, String value, int linePosition, int columnPosition)
Add a new token and notify the preprocessorsvoid
LexerOutput. addTokenAndProcess(TokenType tokenType, String value, String originalValue, int linePosition, int columnPosition)
Add a new token and notify the preprocessorsToken.Builder
Token.Builder. setType(TokenType type)
-
Uses of TokenType in com.sonar.sslr.api.typed
Methods in com.sonar.sslr.api.typed with parameters of type TokenType Modifier and Type Method Description AstNode
AstNodeBuilder. createTerminal(Input input, int startIndex, int endIndex, List<Trivia> trivias, TokenType type)
Object
NodeBuilder. createTerminal(Input input, int startIndex, int endIndex, List<Trivia> trivias, TokenType type)
-
Uses of TokenType in com.sonar.sslr.impl.channel
Methods in com.sonar.sslr.impl.channel with parameters of type TokenType Modifier and Type Method Description static RegexpChannel
RegexpChannelBuilder. regexp(TokenType type, String... regexpPiece)
Constructors in com.sonar.sslr.impl.channel with parameters of type TokenType Constructor Description IdentifierAndKeywordChannel(String regexp, boolean caseSensitive, TokenType[]... keywordSets)
PunctuatorChannel(TokenType... punctuators)
RegexpChannel(TokenType type, String regexp)
-
Uses of TokenType in com.sonar.sslr.impl.matcher
Methods in com.sonar.sslr.impl.matcher with parameters of type TokenType Modifier and Type Method Description static Matcher
GrammarFunctions.Advanced. bridge(TokenType from, TokenType to)
Deprecated.in 1.19, useLexerfulGrammarBuilder.bridge(TokenType, TokenType)
instead.static Matcher
GrammarFunctions.Advanced. isOneOfThem(TokenType... types)
Deprecated.in 1.19, useLexerfulGrammarBuilder.isOneOfThem(TokenType, TokenType...)
instead. -
Uses of TokenType in com.sonarsource.cobol.api
Classes in com.sonarsource.cobol.api that implement TokenType Modifier and Type Class Description class
AcuCobolKeyword
class
AcuCobolTokenType
class
CICSKeyword
class
CobolKeyword
class
CobolSpecialCharacter
class
CobolTokenType
class
DliKeyword
class
EnterpriseKeyword
class
GcosKeyword
class
HpKeyword
class
IleCobolKeyword
class
MicrofocusKeyword
class
SQLKeyword
-
Uses of TokenType in org.sonar.sslr.grammar
Methods in org.sonar.sslr.grammar with parameters of type TokenType Modifier and Type Method Description Object
LexerfulGrammarBuilder. bridge(TokenType from, TokenType to)
Creates parsing expression - "bridge".Object
LexerfulGrammarBuilder. isOneOfThem(TokenType t1, TokenType... rest)
Creates parsing expression - "is one of them".Object
LexerlessGrammarBuilder. token(TokenType tokenType, Object e)
Creates parsing expression - "token". -
Uses of TokenType in org.sonar.sslr.internal.vm
Methods in org.sonar.sslr.internal.vm that return TokenType Modifier and Type Method Description TokenType
TokenExpression. getTokenType()
Constructors in org.sonar.sslr.internal.vm with parameters of type TokenType Constructor Description TokenExpression(TokenType tokenType, ParsingExpression subExpression)
-
Uses of TokenType in org.sonar.sslr.internal.vm.lexerful
Constructors in org.sonar.sslr.internal.vm.lexerful with parameters of type TokenType Constructor Description TokensBridgeExpression(TokenType from, TokenType to)
TokenTypeExpression(TokenType type)
TokenTypesExpression(TokenType... types)
-
Uses of TokenType in org.sonar.sslr.parser
Methods in org.sonar.sslr.parser with parameters of type TokenType Modifier and Type Method Description static Object
GrammarOperators. token(TokenType tokenType, Object e)
Deprecated.in 1.19, useLexerlessGrammarBuilder.token(TokenType, Object)
instead.
-