public class SingleSpec extends AbstractNode
Single spec.
Constructor and Description |
---|
SingleSpec(Index index) |
SingleSpec(Index index,
ModifierList modifiers) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Try to accept this node by a visitor.
|
Index |
getIndex() |
ModifierList |
getModifierList() |
java.lang.String |
toString() |
compareTo
public SingleSpec(Index index, ModifierList modifiers)
public SingleSpec(Index index)
public Index getIndex()
public ModifierList getModifierList()
public void accept(Visitor visitor)
AbstractNode
Try to accept this node by a visitor.
accept
in interface Node
accept
in class AbstractNode
visitor
- the visitorpublic java.lang.String toString()
toString
in class java.lang.Object