public class Argument extends ASTNode implements INameable, IAttributable, INameableStruct
Modifier and Type | Field and Description |
---|---|
protected AttributeList |
d_attribList |
protected DocComment |
d_comment |
protected java.lang.String |
d_mode |
protected Name |
d_name |
protected Name |
d_name2 |
protected Type |
d_type |
ILLEGAL_NODEID
Constructor and Description |
---|
Argument(ParseTreeNode src,
ASTNode parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(Visitor v,
java.lang.Object data)
implements "Visitor Pattern"
|
AttributeList |
getAttributeList() |
DocComment |
getDocComment() |
java.lang.String |
getMode() |
Name |
getName() |
Name |
getName2() |
Type |
getType() |
boolean |
hasDocComment() |
void |
setAttributeList(AttributeList attrib) |
void |
setDocComment(java.lang.String text) |
boolean |
setMode(java.lang.String mode) |
void |
setName(Name name) |
void |
setName2(Name name2) |
void |
setType(Type type) |
getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, setSymbolTableEntry
protected DocComment d_comment
protected AttributeList d_attribList
protected java.lang.String d_mode
protected Type d_type
protected Name d_name
protected Name d_name2
public Argument(ParseTreeNode src, ASTNode parent)
public java.lang.String getMode()
public Name getName2()
getName2
in interface INameableStruct
public void setName2(Name name2)
setName2
in interface INameableStruct
public boolean setMode(java.lang.String mode)
public AttributeList getAttributeList()
getAttributeList
in interface IAttributable
public void setAttributeList(AttributeList attrib)
setAttributeList
in interface IAttributable
public boolean hasDocComment()
public DocComment getDocComment()
public void setDocComment(java.lang.String text)
public Type getType()
public void setType(Type type)