public class Index extends AbstractNode
Abstract syntax tree of CQL - Index. The Index consists of <b>context</b> and <b>name</b> The default context is "cql" and is of the same concept like a namespace.
Constructor and Description |
---|
Index(SimpleName name) |
Index(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Try to accept this node by a visitor.
|
java.lang.String |
getContext() |
java.lang.String |
getName()
Get the name of the index.
|
java.lang.String |
toString() |
compareTo
public Index(java.lang.String name)
public Index(SimpleName name)
public java.lang.String getContext()
public java.lang.String getName()
Get the name of the index.
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