Modifier and Type | Field and Description |
---|---|
static java.lang.String |
beginToken |
static java.lang.String |
endToken |
static java.lang.String |
separatorToken |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
static SubrangeType |
construct(Term from,
Term to)
Construct subrange type.
|
Term |
getFrom()
Get lower bound.
|
Term |
getTo()
Get upper bound.
|
getPosition, getPrecedence, isLeftAssociative, isRightAssociative, setPosition
accept, accept, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPrecedence, isLeftAssociative, isRightAssociative
getPosition, setPosition
print, printCore, toString, toStringCore
public static final java.lang.String beginToken
public static final java.lang.String separatorToken
public static final java.lang.String endToken
public static SubrangeType construct(Term from, Term to)
from
- the lower bound.to
- the upper bound.public Term getFrom()
public Term getTo()
public void accept(ASTVisitorOld visitor)
public void accept(ASTVisitor visitor)
public void acceptChildren(ASTVisitor visitor)
acceptChildren
in interface AST
acceptChildren
in class ASTBase
visitor
- the visitor who is accepted by the children of this node.