Uses of Class
org.antlr.v4.codegen.model.decl.Decl
Packages that use Decl
-
Uses of Decl in org.antlr.v4.codegen
Methods in org.antlr.v4.codegen that return DeclModifier and TypeMethodDescriptionDefaultOutputModelFactory.getCurrentDeclForName
(String name) ParserFactory.getTokenLabelDecl
(String label) -
Uses of Decl in org.antlr.v4.codegen.model
Fields in org.antlr.v4.codegen.model declared as DeclFields in org.antlr.v4.codegen.model with type parameters of type DeclMethods in org.antlr.v4.codegen.model that return types with arguments of type DeclModifier and TypeMethodDescriptionRuleFunction.getDeclForAltElement
(GrammarAST t, String refLabelName, boolean needList, boolean optional) RuleFunction.getDeclsForAllElements
(List<AltAST> altASTs) for all alts, find which ref X or r needs List Must see across alts.InvokeRule.getLabels()
LabeledOp.getLabels()
MatchToken.getLabels()
Methods in org.antlr.v4.codegen.model with parameters of type DeclModifier and TypeMethodDescriptionvoid
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 DeclModifierConstructorDescriptionAddToLabelList
(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.declModifier and TypeClassDescriptionclass
A StructDecl to handle a -> label on altclass
class
class
public XContext X() { }
class
public List<XContext> X() { } public XContext X(int i) { }
class
class
public Token X() { }
class
public List<Token> X() { } public Token X(int i) { }
class
class
class
class
class
This object models the structure holding all of the parameters, return values, local variables, and labels associated with a rule.class
x=ID or implicit _tID labelclass
class
Fields in org.antlr.v4.codegen.model.decl with type parameters of type DeclModifier and TypeFieldDescriptionStructDecl.attributeDecls
StructDecl.attrs
StructDecl.getters
CodeBlock.locals
StructDecl.ruleContextDecls
StructDecl.ruleContextListDecls
StructDecl.tokenDecls
StructDecl.tokenListDecls
StructDecl.tokenTypeDecls
Methods in org.antlr.v4.codegen.model.decl with parameters of type Decl