public class AltLabelStructDecl extends StructDecl
Modifier and Type | Field and Description |
---|---|
int |
altNum |
String |
parentRule |
attributeDecls, attrs, ctorAttrs, derivedFromName, dispatchMethods, extensionMembers, getters, interfaces, provideCopyFrom, ruleContextDecls, ruleContextListDecls, tokenDecls, tokenListDecls, tokenTypeDecls
enclosingBlock, enclosingRuleRunction, uniqueID
ast, factory
Constructor and Description |
---|
AltLabelStructDecl(OutputModelFactory factory,
Rule r,
int altNum,
String label) |
Modifier and Type | Method and Description |
---|---|
void |
addDispatchMethods(Rule r) |
boolean |
equals(Object obj)
If same name, can't redefine, unless it's a getter
|
int |
hashCode() |
addDecl, addDecl, addDecls, addExtensionMember, implementInterface, isEmpty
getContextName, getOuterMostAltCodeBlock
public int altNum
public String parentRule
public AltLabelStructDecl(OutputModelFactory factory, Rule r, int altNum, String label)
public void addDispatchMethods(Rule r)
addDispatchMethods
in class StructDecl
Copyright © 1992–2020 ANTLR. All rights reserved.