| Package | Description |
|---|---|
| com.helger.pgcc.parser |
A grammar and lexer generator.
|
| com.helger.pgcc.parser.exp |
| Modifier and Type | Class and Description |
|---|---|
static class |
Token.GTToken
Greater than Token.
|
| Modifier and Type | Field and Description |
|---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
Token |
JavaCCParser.jj_nt
Next token.
|
Token |
JavaCCParser.jj_nt
Next token.
|
Token |
TokenProduction.m_firstToken
The first and last tokens from the input stream that represent this
production.
|
Token |
TokenProduction.m_firstToken
The first and last tokens from the input stream that represent this
production.
|
Token |
TokenProduction.m_lastToken |
Token |
TokenProduction.m_lastToken |
Token |
Token.next
A reference to the next regular (non-special) token from the input stream.
|
Token |
Token.next
A reference to the next regular (non-special) token from the input stream.
|
Token |
RegExprSpec.nsTok
If the next state specification was explicit in the previous case, then
this token is that of the identifier denoting the next state.
|
Token |
RegExprSpec.nsTok
If the next state specification was explicit in the previous case, then
this token is that of the identifier denoting the next state.
|
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this token,
but after the immediately preceding regular (non-special) token.
|
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this token,
but after the immediately preceding regular (non-special) token.
|
Token |
JavaCCParser.token
Current token.
|
Token |
JavaCCParser.token
Current token.
|
| Modifier and Type | Field and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_FROM_INSERTION_POINT_2
This is the list of all tokens that appear after the tokens in
"cu_to_insertion_point_2" and until "PARSER_END(name)".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_FROM_INSERTION_POINT_2
This is the list of all tokens that appear after the tokens in
"cu_to_insertion_point_2" and until "PARSER_END(name)".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_TO_INSERTION_POINT_1
This is a list of tokens that appear after "PARSER_BEGIN(name)" all the way
until (but not including) the opening brace "{" of the class "name".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_TO_INSERTION_POINT_1
This is a list of tokens that appear after "PARSER_BEGIN(name)" all the way
until (but not including) the opening brace "{" of the class "name".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_TO_INSERTION_POINT_2
This is the list of all tokens that appear after the tokens in
"cu_to_insertion_point_1" and until (but not including) the closing brace
"}" of the class "name".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.CU_TO_INSERTION_POINT_2
This is the list of all tokens that appear after the tokens in
"cu_to_insertion_point_1" and until (but not including) the closing brace
"}" of the class "name".
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.s_token_mgr_decls
The declarations to be inserted into the TokenManager class.
|
static com.helger.commons.collection.impl.ICommonsList<Token> |
JavaCCGlobals.s_token_mgr_decls
The declarations to be inserted into the TokenManager class.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
NormalProduction.getFirstToken() |
Token |
NormalProduction.getFirstToken() |
Token |
NormalProduction.getLastToken() |
Token |
NormalProduction.getLastToken() |
Token |
JavaCCParser.getNextToken() |
Token |
JavaCCParserTokenManager.getNextToken()
Get the next Token.
|
Token |
JavaCCParserTokenManager.getNextToken()
Get the next Token.
|
Token |
JavaCCParser.getNextToken() |
static Token |
JavaCCGlobals.getOtherLanguageDeclTokenBegin() |
static Token |
JavaCCGlobals.getOtherLanguageDeclTokenBegin() |
static Token |
JavaCCGlobals.getOtherLanguageDeclTokenEnd() |
static Token |
JavaCCGlobals.getOtherLanguageDeclTokenEnd() |
Token |
JavaCCParser.getToken(int index) |
Token |
JavaCCParser.getToken(int index) |
Token |
JavaCCParser.JavaIdentifier()
THE JAVA GRAMMAR SPECIFICATION STARTS HERE *
|
Token |
JavaCCParser.JavaIdentifier()
THE JAVA GRAMMAR SPECIFICATION STARTS HERE *
|
protected Token |
JavaCCParserTokenManager.jjFillToken() |
protected Token |
JavaCCParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
String image)
Returns a new Token object, by default.
|
static Token |
Token.newToken(int ofKind,
String image)
Returns a new Token object, by default.
|
Token |
NormalProduction.setFirstToken(Token firstToken) |
Token |
NormalProduction.setFirstToken(Token firstToken) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<Token> |
AbstractCodeProduction.getCodeTokens() |
com.helger.commons.collection.impl.ICommonsList<Token> |
AbstractCodeProduction.getCodeTokens() |
List<Token> |
BNFProduction.getDeclarationTokens() |
List<Token> |
BNFProduction.getDeclarationTokens() |
List<Token> |
NormalProduction.getParameterListTokens() |
List<Token> |
NormalProduction.getParameterListTokens() |
List<Token> |
NormalProduction.getReturnTypeTokens() |
List<Token> |
NormalProduction.getReturnTypeTokens() |
List<List<Token>> |
NormalProduction.getThrowsList() |
List<List<Token>> |
NormalProduction.getThrowsList() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
JavaCCParserInternals.add_token_manager_decls(Token t,
List<Token> decls) |
protected static void |
JavaCCParserInternals.add_token_manager_decls(Token t,
List<Token> decls) |
protected static char |
JavaCCParserInternals.character_descriptor_assign(Token t,
String s) |
protected static char |
JavaCCParserInternals.character_descriptor_assign(Token t,
String s) |
protected static char |
JavaCCParserInternals.character_descriptor_assign(Token t,
String s,
String left) |
protected static char |
JavaCCParserInternals.character_descriptor_assign(Token t,
String s,
String left) |
protected static void |
JavaCCParserInternals.compare(Token t,
String id1,
String id2) |
protected static void |
JavaCCParserInternals.compare(Token t,
String id1,
String id2) |
protected String |
CodeGenerator.getLeadingComments(Token t) |
protected String |
CodeGenerator.getLeadingComments(Token t) |
protected String |
CodeGenerator.getStringForTokenOnly(Token t) |
protected String |
CodeGenerator.getStringForTokenOnly(Token t) |
protected String |
CodeGenerator.getStringToPrint(Token t) |
protected String |
CodeGenerator.getStringToPrint(Token t) |
protected String |
CodeGenerator.getTrailingComments(Token t) |
protected String |
CodeGenerator.getTrailingComments(Token t) |
protected static void |
JavaCCParserInternals.insertionpointerrors(Token t) |
protected static void |
JavaCCParserInternals.insertionpointerrors(Token t) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected void |
CodeGenerator.printLeadingComments(Token t) |
protected static String |
JavaCCGlobals.printLeadingComments(Token t) |
protected static String |
JavaCCGlobals.printLeadingComments(Token t) |
protected void |
CodeGenerator.printLeadingComments(Token t) |
protected static void |
JavaCCGlobals.printLeadingComments(Token t,
PrintWriter ostr) |
protected static void |
JavaCCGlobals.printLeadingComments(Token t,
PrintWriter ostr) |
protected void |
CodeGenerator.printToken(Token t) |
static String |
JavaCCGlobals.printToken(Token t) |
static String |
JavaCCGlobals.printToken(Token t) |
protected void |
CodeGenerator.printToken(Token t) |
static void |
JavaCCGlobals.printToken(Token t,
PrintWriter ostr) |
static void |
JavaCCGlobals.printToken(Token t,
PrintWriter ostr) |
protected void |
CodeGenerator.printTokenOnly(Token t) |
static String |
JavaCCGlobals.printTokenOnly(Token t) |
static String |
JavaCCGlobals.printTokenOnly(Token t) |
protected void |
CodeGenerator.printTokenOnly(Token t) |
protected static void |
JavaCCGlobals.printTokenOnly(Token t,
PrintWriter ostr) |
protected static void |
JavaCCGlobals.printTokenOnly(Token t,
PrintWriter ostr) |
protected void |
CodeGenerator.printTokenSetup(Token t) |
static void |
JavaCCGlobals.printTokenSetup(Token t) |
static void |
JavaCCGlobals.printTokenSetup(Token t) |
protected void |
CodeGenerator.printTokenSetup(Token t) |
protected void |
CodeGenerator.printTrailingComments(Token t) |
static String |
JavaCCGlobals.printTrailingComments(Token t) |
static String |
JavaCCGlobals.printTrailingComments(Token t) |
protected void |
CodeGenerator.printTrailingComments(Token t) |
protected static String |
JavaCCParserInternals.remove_escapes_and_quotes(Token t,
String str) |
protected static String |
JavaCCParserInternals.remove_escapes_and_quotes(Token t,
String str) |
protected static void |
JavaCCParserInternals.set_initial_cu_token(Token t) |
protected static void |
JavaCCParserInternals.set_initial_cu_token(Token t) |
Token |
NormalProduction.setFirstToken(Token firstToken) |
Token |
NormalProduction.setFirstToken(Token firstToken) |
protected static void |
JavaCCParserInternals.setinsertionpoint(Token t,
int no) |
protected static void |
JavaCCParserInternals.setinsertionpoint(Token t,
int no) |
void |
NormalProduction.setLastToken(Token lastToken) |
void |
NormalProduction.setLastToken(Token lastToken) |
static void |
JavaCCGlobals.setOtherLanguageDeclTokenBegin(Token t) |
static void |
JavaCCGlobals.setOtherLanguageDeclTokenBegin(Token t) |
static void |
JavaCCGlobals.setOtherLanguageDeclTokenEnd(Token t) |
static void |
JavaCCGlobals.setOtherLanguageDeclTokenEnd(Token t) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
JavaCCParserInternals.add_token_manager_decls(Token t,
List<Token> decls) |
protected static void |
JavaCCParserInternals.add_token_manager_decls(Token t,
List<Token> decls) |
void |
JavaCCParser.Arguments(List<Token> tokens) |
void |
JavaCCParser.Arguments(List<Token> tokens) |
void |
JavaCCParser.Block(List<Token> tokens) |
void |
JavaCCParser.Block(List<Token> tokens) |
void |
JavaCCParser.ClassOrInterfaceBody(boolean isInterface,
List<Token> tokens) |
void |
JavaCCParser.ClassOrInterfaceBody(boolean isInterface,
List<Token> tokens) |
void |
JavaCCParser.ClassOrInterfaceDeclaration(int modifiers,
List<Token> tokens) |
void |
JavaCCParser.ClassOrInterfaceDeclaration(int modifiers,
List<Token> tokens) |
void |
JavaCCParser.Expression(List<Token> tokens) |
void |
JavaCCParser.Expression(List<Token> tokens) |
void |
JavaCCParser.FormalParameters(List<Token> tokens) |
void |
JavaCCParser.FormalParameters(List<Token> tokens) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
protected static void |
JavaCCParserInternals.makeTryBlock(Token tryLoc,
Container result,
Container nestedExp,
List<List<Token>> types,
List<Token> ids,
List<List<Token>> catchblks,
List<Token> finallyblk) |
void |
JavaCCParser.Name(List<Token> tokens) |
void |
JavaCCParser.Name(List<Token> tokens) |
protected void |
CodeGenerator.printTokenList(List<Token> list) |
protected void |
CodeGenerator.printTokenList(List<Token> list) |
protected static void |
JavaCCGlobals.printTokenList(List<Token> list,
PrintWriter ostr) |
protected static void |
JavaCCGlobals.printTokenList(List<Token> list,
PrintWriter ostr) |
void |
JavaCCParser.ResultType(List<Token> tokens) |
void |
JavaCCParser.ResultType(List<Token> tokens) |
void |
NormalProduction.setThrowsList(List<List<Token>> throws_list) |
void |
NormalProduction.setThrowsList(List<List<Token>> throws_list) |
void |
JavaCCParser.TypeArguments(List<Token> tokens) |
void |
JavaCCParser.TypeArguments(List<Token> tokens) |
| Constructor and Description |
|---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal) |
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal) |
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal,
String lexicalStateName)
This constructor is used by the method "generateParseException"
in the generated parser.
|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal,
String lexicalStateName)
This constructor is used by the method "generateParseException"
in the generated parser.
|
| Modifier and Type | Field and Description |
|---|---|
List<List<Token>> |
ExpTryBlock.m_catchblks
The block part of each catch block.
|
List<List<Token>> |
ExpTryBlock.m_catchblks
The block part of each catch block.
|
List<Token> |
ExpTryBlock.m_finallyblk
The block part of the finally block.
|
List<Token> |
ExpTryBlock.m_finallyblk
The block part of the finally block.
|
List<Token> |
ExpTryBlock.m_ids
The exception identifiers of each catch block.
|
List<Token> |
ExpTryBlock.m_ids
The exception identifiers of each catch block.
|
List<List<Token>> |
ExpTryBlock.m_types
The types of each catch block.
|
List<List<Token>> |
ExpTryBlock.m_types
The types of each catch block.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
ExpNonTerminal.getArgumentTokenAt(int n) |
Token |
ExpNonTerminal.getArgumentTokenAt(int n) |
Token |
ExpNonTerminal.getLhsTokenAt(int nIndex) |
Token |
ExpNonTerminal.getLhsTokenAt(int nIndex) |
Token |
AbstractExpRegularExpression.getRhsToken() |
Token |
AbstractExpRegularExpression.getRhsToken() |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<Token> |
ExpAction.getActionTokens() |
com.helger.commons.collection.impl.ICommonsList<Token> |
ExpLookahead.getActionTokens() |
com.helger.commons.collection.impl.ICommonsList<Token> |
ExpLookahead.getActionTokens() |
com.helger.commons.collection.impl.ICommonsList<Token> |
ExpAction.getActionTokens() |
Iterable<Token> |
ExpNonTerminal.getArgumentTokens() |
Iterable<Token> |
ExpNonTerminal.getArgumentTokens() |
List<Token> |
AbstractExpRegularExpression.getLhsTokens() |
Iterable<Token> |
ExpNonTerminal.getLhsTokens() |
Iterable<Token> |
ExpNonTerminal.getLhsTokens() |
List<Token> |
AbstractExpRegularExpression.getLhsTokens() |
List<Token> |
ExpNonTerminal.getMutableArgumentTokens() |
List<Token> |
ExpNonTerminal.getMutableArgumentTokens() |
List<Token> |
ExpNonTerminal.getMutableParametrizedTypeTokens() |
List<Token> |
ExpNonTerminal.getMutableParametrizedTypeTokens() |
Iterable<Token> |
ExpNonTerminal.getParametrizedTypeTokens() |
Iterable<Token> |
ExpNonTerminal.getParametrizedTypeTokens() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractExpRegularExpression.setRhsToken(Token rhsToken) |
void |
AbstractExpRegularExpression.setRhsToken(Token rhsToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractExpRegularExpression.setLhsTokens(List<Token> lhsTokens) |
void |
ExpNonTerminal.setLhsTokens(List<Token> lhsTokens) |
void |
ExpNonTerminal.setLhsTokens(List<Token> lhsTokens) |
void |
AbstractExpRegularExpression.setLhsTokens(List<Token> lhsTokens) |
Copyright © 2017–2022 Philip Helger. All rights reserved.