public class Attribute extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
decl
The entire declaration such as "String foo;"
|
AttributeDict |
dict
Who contains us?
|
String |
initValue
The optional attribute initialization expression
|
String |
name
The name of the attribute "foo"
|
Token |
token
A
Token giving the position of the name of this attribute in the grammar.
|
String |
type
The type; might be empty such as for Python which has no static typing
|
public Stringdecl
public Stringtype
public Stringname
public Token token
Token giving the position of the name of this attribute in the grammar.
public StringinitValue
public AttributeDictdict
public Attribute()
public Attribute(Stringname)
public StringtoString()