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, tokenTypeDeclsenclosingBlock, enclosingRuleRunction, uniqueIDast, 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, isEmptygetContextName, getOuterMostAltCodeBlockpublic int altNum
public String parentRule
public AltLabelStructDecl(OutputModelFactory factory, Rule r, int altNum, String label)
public void addDispatchMethods(Rule r)
addDispatchMethods in class StructDeclCopyright © 1992–2020 ANTLR. All rights reserved.