java.lang.Object
org.apache.oro.text.awk.SyntaxNode
org.apache.oro.text.awk.LeafNode
- Direct Known Subclasses:
- CharacterClassNode, TokenNode
- abstract class LeafNode
- extends SyntaxNode
- Since:
- 1.0
- Version:
- @version@
|
Constructor Summary |
(package private) |
LeafNode(int position)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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
LeafNode
LeafNode(int position)
_matches
abstract boolean _matches(char token)
_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
_clone
abstract SyntaxNode _clone(int[] pos)
- This method is designed specifically to accommodate the expansion of
an interval into its subparts.