public class Attribute extends Object
Modifier and Type | Field | Description |
---|---|---|
String |
decl |
The entire declaration such as "String foo" or "x:int"
|
AttributeDict |
dict |
Who contains us?
|
String |
initValue |
The optional attribute initialization expression
|
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. |
String |
type |
The type; might be empty such as for Python which has no static typing
|
public String decl
public String type
public String name
public org.antlr.runtime.Token token
Token
giving the position of the name of this attribute in the grammar.public String initValue
public AttributeDict dict
public Attribute()
public Attribute(String name)
Copyright © 1992–2019 ANTLR. All rights reserved.