Package org.antlr.v4.codegen.model.decl
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 org.antlr.v4.codegen.model.decl.StructDecl
attributeDecls, attrs, ctorAttrs, derivedFromName, dispatchMethods, extensionMembers, getters, interfaces, provideCopyFrom, ruleContextDecls, ruleContextListDecls, signatures, tokenDecls, tokenListDecls, tokenTypeDeclsFields inherited from class org.antlr.v4.codegen.model.decl.Decl
ctx, decl, escapedName, isLocal, nameFields inherited from class org.antlr.v4.codegen.model.SrcOp
enclosingBlock, enclosingRuleRunction, uniqueIDFields inherited from class org.antlr.v4.codegen.model.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 org.antlr.v4.codegen.model.decl.StructDecl
addDecl, addDecl, addDecls, addExtensionMember, implementInterface, isEmptyMethods inherited from class org.antlr.v4.codegen.model.SrcOp
getContextName, getOuterMostAltCodeBlock
-
Field Details
-
altNum
public int altNum -
parentRule
-
-
Constructor Details
-
AltLabelStructDecl
-
-
Method Details
-
addDispatchMethods
- Overrides:
addDispatchMethodsin classStructDecl
-
hashCode
public int hashCode() -
equals
Description copied from class:DeclIf same name, can't redefine, unless it's a getter
-