Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.zirkel.expression.ExpressionText Class Reference

This class holds information abut the current position in the scanned text. More...

Collaboration diagram for rene.zirkel.expression.ExpressionText:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExpressionText (String S, Construction c, ConstructionObject o, DepList dl, boolean nocircles)
void setVar (String t[])
boolean isVar (String var)
char next (boolean quotes)
char next ()
char nextnext ()
void advance (boolean quotes)
void advance ()
Construction getConstruction ()
ConstructionObject getObject ()
DepList getDepList ()
void skipblanks ()
boolean nocircles ()

Package Attributes

char A []
int N
Construction C
ConstructionObject O
DepList DL
String Var []
boolean NoCircles

Detailed Description

This class holds information abut the current position in the scanned text.

Definition at line 20 of file Expression.java.


Constructor & Destructor Documentation

rene.zirkel.expression.ExpressionText.ExpressionText ( String  S,
Construction  c,
ConstructionObject  o,
DepList  dl,
boolean  nocircles 
) [inline]

Definition at line 28 of file Expression.java.

       {      A=S.toCharArray();
              N=0;
              C=c;
              O=o;
              DL=dl;
              NoCircles=nocircles;
       }

Here is the call graph for this function:


Member Function Documentation

Definition at line 59 of file Expression.java.

       {      if (!quotes) skipblanks();
              N++;
       }

Here is the call graph for this function:

Definition at line 63 of file Expression.java.

       {      advance(false);
       }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 66 of file Expression.java.

       {      return C;
       }

Definition at line 72 of file Expression.java.

       {      return DL;
       }

Definition at line 69 of file Expression.java.

       {      return O;
       }

Definition at line 40 of file Expression.java.

       {      if (Var==null) return false;
              for (int i=0; i<Var.length; i++)
                     if (Var[i].equals(var)) return true;
              return false;
       }

Definition at line 46 of file Expression.java.

       {      if (!quotes) skipblanks();
              if (N<A.length) return A[N];
              else return (char)0;
       }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 51 of file Expression.java.

       {      return next(false);
       }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 54 of file Expression.java.

       {      skipblanks();
              if (N+1<A.length) return A[N+1];
              else return (char)0;
       }

Here is the call graph for this function:

Definition at line 78 of file Expression.java.

       {      return NoCircles;
       }

Here is the caller graph for this function:

void rene.zirkel.expression.ExpressionText.setVar ( String  t[]) [inline]

Definition at line 37 of file Expression.java.

       {      Var=t;
       }

Here is the caller graph for this function:

Definition at line 75 of file Expression.java.

       {      while (N<A.length && A[N]==' ') N++;
       }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 21 of file Expression.java.

Definition at line 23 of file Expression.java.

Definition at line 25 of file Expression.java.

Definition at line 22 of file Expression.java.

Definition at line 27 of file Expression.java.

Definition at line 24 of file Expression.java.

Definition at line 26 of file Expression.java.


The documentation for this class was generated from the following file: