Class AltLabelStructDecl
java.lang.Object
org.antlr.v4.codegen.model.OutputModelObject
org.antlr.v4.codegen.model.SrcOp
org.antlr.v4.codegen.model.decl.Decl
org.antlr.v4.codegen.model.decl.StructDecl
org.antlr.v4.codegen.model.decl.AltLabelStructDecl
A StructDecl to handle a -> label on alt
-
Field Summary
FieldsFields inherited from class StructDecl
attributeDecls, attrs, ctorAttrs, derivedFromName, dispatchMethods, extensionMembers, getters, interfaces, provideCopyFrom, ruleContextDecls, ruleContextListDecls, signatures, tokenDecls, tokenListDecls, tokenTypeDeclsFields inherited from class SrcOp
enclosingBlock, enclosingRuleRunction, uniqueIDFields inherited from class OutputModelObject
ast, factory -
Constructor Summary
ConstructorsConstructorDescriptionAltLabelStructDecl(OutputModelFactory factory, Rule r, int altNum, String label) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanIf same name, can't redefine, unless it's a getterinthashCode()Methods inherited from class StructDecl
addDecl, addDecl, addDecls, addExtensionMember, implementInterface, isEmptyMethods inherited from class SrcOp
getContextName, getOuterMostAltCodeBlock
-
Field Details
-
altNum
public int altNum -
parentRule
-
-
Constructor Details
-
AltLabelStructDecl
-
-
Method Details
-
addDispatchMethods
- Overrides:
addDispatchMethodsin classStructDecl
-
hashCode
-
equals
-