MetaTF.Parser
Class ASTStride
java.lang.Object
|
+--MetaTF.Parser.SimpleNode
|
+--MetaTF.Parser.ASTValue
|
+--MetaTF.Parser.ASTStride
- All Implemented Interfaces:
- Node
- public class ASTStride
- extends ASTValue
Abstract syntax tree node representing stride
- Version:
- rel-1-2 ($Revision: 1.3 $, $Date: 2000/12/15 16:29:54 $),
- Author:
- Richard Jones
- See Also:
- The MetaTF Grammar
Methods inherited from class MetaTF.Parser.SimpleNode |
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTStride
public ASTStride(int id)
ASTStride
public ASTStride(MetaTFParser p,
int id)
jjtAccept
public java.lang.Object jjtAccept(MetaTFParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Overrides:
jjtAccept
in class ASTValue
getInitialValue
public int getInitialValue()
- Returns:
- the initial value
- See Also:
ASTNumber
getStride
public int getStride()
- Returns:
- the stride
- See Also:
ASTNumber
Copyright © 2001 - Richard Jones MetaTF