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