Uses of Class
org.antlr.v4.codegen.model.decl.Decl
-
Packages that use Decl Package Description org.antlr.v4.codegen org.antlr.v4.codegen.model org.antlr.v4.codegen.model.decl -
-
Uses of Decl in org.antlr.v4.codegen
Methods in org.antlr.v4.codegen that return Decl Modifier and Type Method Description Decl
ParserFactory. getTokenLabelDecl(String label)
-
Uses of Decl in org.antlr.v4.codegen.model
Fields in org.antlr.v4.codegen.model declared as Decl Modifier and Type Field Description Decl
AddToLabelList. label
Decl
Choice. label
Fields in org.antlr.v4.codegen.model with type parameters of type Decl Modifier and Type Field Description OrderedHashSet<Decl>
InvokeRule. labels
List<Decl>
MatchToken. labels
OrderedHashSet<Decl>
RuleFunction. locals
Methods in org.antlr.v4.codegen.model that return types with arguments of type Decl Modifier and Type Method Description List<Decl>
RuleFunction. getDeclForAltElement(GrammarAST t, String refLabelName, boolean needList, boolean optional)
Set<Decl>
RuleFunction. getDeclsForAllElements(List<AltAST> altASTs)
for all alts, find which ref X or r needs List Must see across alts.List<Decl>
InvokeRule. getLabels()
List<Decl>
LabeledOp. getLabels()
List<Decl>
MatchToken. getLabels()
Methods in org.antlr.v4.codegen.model with parameters of type Decl Modifier and Type Method Description void
RuleFunction. addContextDecl(String altLabel, Decl d)
Add decl to struct ctx for rule or alt if labeledvoid
RuleFunction. addLocalDecl(Decl d)
Add local var declConstructors in org.antlr.v4.codegen.model with parameters of type Decl Constructor Description AddToLabelList(OutputModelFactory factory, String listName, Decl label)
-
Uses of Decl in org.antlr.v4.codegen.model.decl
Subclasses of Decl in org.antlr.v4.codegen.model.decl Modifier and Type Class Description class
AltLabelStructDecl
A StructDecl to handle a -> label on altclass
AttributeDecl
class
ContextGetterDecl
class
ContextRuleGetterDecl
public XContext X() { }
class
ContextRuleListGetterDecl
public List<XContext> X() { } public XContext X(int i) { }
class
ContextRuleListIndexedGetterDecl
class
ContextTokenGetterDecl
public Token X() { }
class
ContextTokenListGetterDecl
public List<Token> X() { } public Token X(int i) { }
class
ContextTokenListIndexedGetterDecl
class
ElementListDecl
class
RuleContextDecl
class
RuleContextListDecl
class
StructDecl
This object models the structure holding all of the parameters, return values, local variables, and labels associated with a rule.class
TokenDecl
x=ID or implicit _tID labelclass
TokenListDecl
class
TokenTypeDecl
Fields in org.antlr.v4.codegen.model.decl with type parameters of type Decl Modifier and Type Field Description OrderedHashSet<Decl>
StructDecl. attributeDecls
OrderedHashSet<Decl>
StructDecl. attrs
OrderedHashSet<Decl>
StructDecl. getters
OrderedHashSet<Decl>
CodeBlock. locals
OrderedHashSet<Decl>
StructDecl. ruleContextDecls
OrderedHashSet<Decl>
StructDecl. ruleContextListDecls
OrderedHashSet<Decl>
StructDecl. signatures
OrderedHashSet<Decl>
StructDecl. tokenDecls
OrderedHashSet<Decl>
StructDecl. tokenListDecls
OrderedHashSet<Decl>
StructDecl. tokenTypeDecls
Methods in org.antlr.v4.codegen.model.decl with parameters of type Decl Modifier and Type Method Description void
StructDecl. addDecl(Decl d)
void
CodeBlock. addLocalDecl(Decl d)
Add local var decl
-