Stefy

stefy
Class ParserX

java.lang.Object
  |
  +--stefy.ParserX

public class ParserX
extends java.lang.Object
implements DDinterface

ParserX class (DD) is used for DD of the objects of class Parser.


Constructor Summary
ParserX(Interpreter i, ChartX px, GrammarX gx)
          Creates a new instance of ParserX.
 
Method Summary
 int cback(int id, int i1, int i2, java.lang.Object o1)
           
 int cback(int id, java.lang.Object p2)
          Generic boolan callback with two parameters: the first is integer.
 Parser getParser()
           
 VariableX parse(java.lang.String s)
           
 java.lang.String pChartToString()
          Returns the string representation of the passive chart.
 void setTrace(int t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserX

public ParserX(Interpreter i,
               ChartX px,
               GrammarX gx)
Creates a new instance of ParserX.
Parameters:
p - the object parser
i - the interpreter associated with the parser; can be null
Method Detail

setTrace

public void setTrace(int t)

getParser

public Parser getParser()

parse

public VariableX parse(java.lang.String s)

cback

public int cback(int id,
                 java.lang.Object p2)
Generic boolan callback with two parameters: the first is integer.
Specified by:
cback in interface DDinterface
Parameters:
id - the type of call back
p2 - the second parameter
Returns:
depends on context

cback

public int cback(int id,
                 int i1,
                 int i2,
                 java.lang.Object o1)
Specified by:
cback in interface DDinterface

pChartToString

public java.lang.String pChartToString()
Returns the string representation of the passive chart.
Returns:
the string representation

Stefy

Submit a bug or feature
Copyright 1998-2004 Vlado Keselj. All Rights Reserved.