MetaTF API

MetaTF.Parser
Class ASTSection0

java.lang.Object
  |
  +--MetaTF.Parser.SimpleNode
        |
        +--MetaTF.Parser.ASTSection0
All Implemented Interfaces:
Node

public class ASTSection0
extends SimpleNode

Abstract syntax tree node representing section 0

Version:
rel-1-2 ($Revision: 1.3 $, $Date: 2000/12/15 16:29:54 $),
Author:
Richard Jones
See Also:
The MetaTF Grammar

Fields inherited from class MetaTF.Parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTSection0(int id)
           
ASTSection0(MetaTFParser p, int id)
           
 
Method Summary
 int getNumPropertiesRecords()
          return the number of properties of records defined in section 0 (other than built-ins)
 Node getPropertyOrRecord(int i)
          Get a property or record
 java.lang.Object jjtAccept(MetaTFParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 
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
 

Constructor Detail

ASTSection0

public ASTSection0(int id)

ASTSection0

public ASTSection0(MetaTFParser p,
                   int id)
Method Detail

jjtAccept

public java.lang.Object jjtAccept(MetaTFParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor.
Overrides:
jjtAccept in class SimpleNode

getNumPropertiesRecords

public int getNumPropertiesRecords()
return the number of properties of records defined in section 0 (other than built-ins)

getPropertyOrRecord

public Node getPropertyOrRecord(int i)
Get a property or record
Parameters:
i - the number of the property or record WHERE 0<=iReturns:
the property or record

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF