Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.oro.text.awk
Class TokenNode  view TokenNode download TokenNode.java

java.lang.Object
  extended byorg.apache.oro.text.awk.SyntaxNode
      extended byorg.apache.oro.text.awk.LeafNode
          extended byorg.apache.oro.text.awk.TokenNode

class TokenNode
extends LeafNode

Since:
1.0
Version:
@version@

Field Summary
(package private) static int _END_MARKER_TOKEN
           
(package private) static int _NUM_TOKENS
           
protected  int _position
           
protected  java.util.BitSet _positionSet
           
(package private)  char _token
           
 
Constructor Summary
(package private) TokenNode(char token, int position)
           
 
Method Summary
(package private)  SyntaxNode _clone(int[] pos)
          This method is designed specifically to accommodate the expansion of an interval into its subparts.
(package private)  java.util.BitSet _firstPosition()
           
(package private)  void _followPosition(java.util.BitSet[] follow, SyntaxNode[] nodes)
           
(package private)  java.util.BitSet _lastPosition()
           
(package private)  boolean _matches(char token)
           
(package private)  boolean _nullable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_token

char _token

_NUM_TOKENS

static final int _NUM_TOKENS
See Also:
Constant Field Values

_END_MARKER_TOKEN

static final int _END_MARKER_TOKEN
See Also:
Constant Field Values

_position

protected int _position

_positionSet

protected java.util.BitSet _positionSet
Constructor Detail

TokenNode

TokenNode(char token,
          int position)
Method Detail

_matches

boolean _matches(char token)
Specified by:
_matches in class LeafNode

_clone

SyntaxNode _clone(int[] pos)
Description copied from class: SyntaxNode
This method is designed specifically to accommodate the expansion of an interval into its subparts.

Specified by:
_clone in class SyntaxNode

_nullable

final boolean _nullable()
Specified by:
_nullable in class SyntaxNode

_firstPosition

final java.util.BitSet _firstPosition()
Specified by:
_firstPosition in class SyntaxNode

_lastPosition

final java.util.BitSet _lastPosition()
Specified by:
_lastPosition in class SyntaxNode

_followPosition

final void _followPosition(java.util.BitSet[] follow,
                           SyntaxNode[] nodes)
Specified by:
_followPosition in class SyntaxNode