public class Attribute
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
decl
The entire declaration such as "String foo;"
|
AttributeDict |
dict
Who contains us?
|
java.lang.String |
initValue
The optional attribute initialization expression
|
java.lang.String |
name
The name of the attribute "foo"
|
org.antlr.runtime.Token |
token
A
Token giving the position of the name of this attribute in the grammar. |
java.lang.String |
type
The type; might be empty such as for Python which has no static typing
|
| Constructor and Description |
|---|
Attribute() |
Attribute(java.lang.String name) |
Attribute(java.lang.String name,
java.lang.String decl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public java.lang.String decl
public java.lang.String type
public java.lang.String name
public org.antlr.runtime.Token token
Token giving the position of the name of this attribute in the grammar.public java.lang.String initValue
public AttributeDict dict