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 TypeMethodDescriptionvoidRuleFunction.addContextDecl(String altLabel, Decl d) Add decl to struct ctx for rule or alt if labeledvoidRuleFunction.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 TypeClassDescriptionclassA StructDecl to handle a -> label on altclassclassclasspublic XContext X() { }classpublic List<XContext> X() { } public XContext X(int i) { }classclasspublic Token X() { }classpublic List<Token> X() { } public Token X(int i) { }classclassclassclassclassThis object models the structure holding all of the parameters, return values, local variables, and labels associated with a rule.classx=ID or implicit _tID labelclassclassFields in org.antlr.v4.codegen.model.decl with type parameters of type DeclModifier and TypeFieldDescriptionStructDecl.attributeDeclsStructDecl.attrsStructDecl.gettersCodeBlock.localsStructDecl.ruleContextDeclsStructDecl.ruleContextListDeclsStructDecl.tokenDeclsStructDecl.tokenListDeclsStructDecl.tokenTypeDeclsMethods in org.antlr.v4.codegen.model.decl with parameters of type Decl