- abort() - Method in interface xtc.util.State
-
Abort a state-modifying transaction.
- Action<T> - Interface in xtc.util
-
The interface to all actions.
- add(Object) - Method in class xtc.tree.Node
-
Add the specified object as a child.
- add(int, Object) - Method in class xtc.tree.Node
-
Add the specified object as a child at the specified index.
- add(T) - Method in class xtc.util.Pair
-
Add the specified element to the list starting at this pair.
- addAll(Pair<?>) - Method in class xtc.tree.Node
-
Add all values in the list starting with the specified pair as
children.
- addAll(int, Pair<?>) - Method in class xtc.tree.Node
-
Add all values in the list starting with the specified pair as
children at the specified index.
- addAll(Collection<?>) - Method in class xtc.tree.Node
-
Add all values in the specified collection as children.
- addAll(int, Collection<?>) - Method in class xtc.tree.Node
-
Add all values in the specified collection as children at the
specified index.
- addAllTo(Collection<Object>) - Method in class xtc.tree.Node
-
Add all of this node's children to the specified collection.
- addNode(Node) - Method in class xtc.tree.Node
-
Add the specified node as a child.
- addTo(List<? super T>) - Method in class xtc.util.Pair
-
Add the values of the list starting at this pair in order to the
specified Java collections framework list.
- after1(Node, Object) - Static method in class xtc.tree.Formatting
-
Create a formatting annotation.
- Annotation - Class in xtc.tree
-
The superclass of all annotations.
- Annotation() - Constructor for class xtc.tree.Annotation
-
Create a new, empty annotation.
- Annotation(Node) - Constructor for class xtc.tree.Annotation
-
Create a new annotation for the specified node.
- append(Pair<T>) - Method in class xtc.util.Pair
-
Set the tail of a copy of this list's last pair to the specified
value.
- apply(Pair<Action<T>>, T) - Method in class xtc.parser.ParserBase
-
Apply the specified actions on the specified seed.
- apply(Pair<Action<T>>, T, int) - Method in class xtc.parser.ParserBase
-
Apply the specified actions on the specified seed while also
setting the results' locations.
- C_ESCAPES - Static variable in class xtc.util.Utilities
-
The escape flags for standard C escapes.
- cast(Object) - Static method in class xtc.parser.ParserBase
-
Cast the specified object.
- cast(Pair<?>) - Static method in class xtc.parser.ParserBase
-
Cast the list starting at the specified pair.
- cast(Object) - Static method in class xtc.tree.GNode
-
Cast the specified object to a generic node.
- cast(Object) - Static method in class xtc.tree.Token
-
Cast the specified object to a string.
- character(int) - Method in class xtc.parser.ParserBase
-
Parse a character at the specified index.
- Column - Class in xtc.parser
-
The superclass of memoization table columns.
- Column() - Constructor for class xtc.parser.Column
-
- column - Variable in class xtc.parser.Column
-
The current column.
- column(int) - Method in class xtc.parser.ParserBase
-
Get the column at the specified index.
- column - Variable in class xtc.tree.Location
-
The column.
- combine(Pair<T>) - Method in class xtc.util.Pair
-
Combine the elements on the list starting at this pair with the
elements on the list starting at the specified pair.
- COMMENT_NEWLINE - Static variable in class xtc.util.Utilities
-
The regular expression pattern for newlines surrounded by spaces
and optionally followed by stars '*'.
- commit() - Method in interface xtc.util.State
-
Commit a state-modifying transaction.
- compareTo(Object) - Method in class xtc.tree.Location
-
- consists() - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of
no elements.
- consists(Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified object.
- consists(Object, Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified two objects.
- consists(Object, Object, Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified three objects.
- consists(Object, Object, Object, Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified four objects.
- consists(Object, Object, Object, Object, Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified five objects.
- consists(Object...) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair consists of the
specified objects.
- contains(Object) - Method in class xtc.tree.Node
-
Determine whether this node has the specified object as a child.
- contains(Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair contains the
specified element.
- create(String) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name.
- create(String, int) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name.
- create(String, boolean) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name.
- create(String, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and child.
- create(String, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object, Object, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(String, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified name and children.
- create(GNode) - Static method in class xtc.tree.GNode
-
Create a new generic node that is a (shallow) copy of the
specified node.
- createFromPair(String, Pair) - Static method in class xtc.tree.GNode
-
Create a new generic node with the list's nodes as its children.
- createFromPair(String, Object, Pair) - Static method in class xtc.tree.GNode
-
Create a new generic node with the specified children.
- createValue(Object, ParseError) - Method in class xtc.parser.ParseError
-
- createValue(Object, ParseError) - Method in class xtc.parser.Result
-
Create a semantic value based on this result.
- createValue(Object, ParseError) - Method in class xtc.parser.SemanticValue
-
- EMPTY - Static variable in class xtc.util.Pair
-
The pair representing the empty list.
- empty() - Static method in class xtc.util.Pair
-
Get the canoncial empty pair.
- ensureVariable(GNode) - Static method in class xtc.tree.GNode
-
Ensure that the specified node supports a variable number of
children.
- equals(Object) - Method in class xtc.tree.GNode
-
Determine whether this generic node equals the specified object.
- equals(Object) - Method in class xtc.tree.Location
-
- equals(Object) - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair equals the
specified object.
- error - Variable in class xtc.parser.SemanticValue
-
The embedded parse error.
- escape(char, Appendable, int) - Static method in class xtc.util.Utilities
-
Escape the specified character into the specified appendable.
- escape(String, Appendable, int) - Static method in class xtc.util.Utilities
-
Escape the specified string into the specified appendable.
- escape(char, int) - Static method in class xtc.util.Utilities
-
Escape the specified character.
- escape(String, int) - Static method in class xtc.util.Utilities
-
Escape the specified string.
- ESCAPE_BELL_VT - Static variable in class xtc.util.Utilities
-
Flag for escaping the bell '\a' and vertical tab
'\v' characters, which may be escaped in standard C
but not in Java.
- ESCAPE_DOUBLE - Static variable in class xtc.util.Utilities
-
Flag for using doubled escape sequences.
- ESCAPE_HTML - Static variable in class xtc.util.Utilities
-
Flag for escaping less-than '<' and greater-than
'>' signs as HTML entities.
- ESCAPE_REGEX - Static variable in class xtc.util.Utilities
-
Flag for escaping the '[', '-', and
']' characters used in regular expressions.
- ESCAPE_UNICODE - Static variable in class xtc.util.Utilities
-
Flag for escaping all characters that neither are printable ASCII
characters nor have named escapes using Unicode escapes.
- INCR_SIZE - Static variable in class xtc.parser.ParserBase
-
The increment for the arrays storing the memoization table's
columns.
- index - Variable in class xtc.parser.Result
-
The index into the parser's memoization table.
- indexOf(Object) - Method in class xtc.tree.Node
-
Determine the index of the specified object.
- INIT_SIZE - Static variable in class xtc.parser.ParserBase
-
The default size for the arrays storing the memoization table's
columns.
- innerMost() - Method in class xtc.tree.Annotation
-
Return the inner-most annotation.
- intersect(Pair<T>) - Method in class xtc.util.Pair
-
Intersect the elements on the list starting at this pair with the
elements on the list starting at the specified pair.
- isAnnotation() - Method in class xtc.tree.Annotation
-
- isAnnotation() - Method in class xtc.tree.Node
-
Determine whether this node is an annotation.
- isEmpty() - Method in class xtc.tree.Node
-
Determine whether this node has no children.
- isEmpty() - Method in class xtc.util.Pair
-
Determine whether the list starting at this pair is empty.
- isEOF(int) - Method in class xtc.parser.ParserBase
-
Determine whether the specified index represents the end-of-file.
- isGeneric() - Method in class xtc.tree.GNode
-
Determine whether this node is generic.
- isGeneric() - Method in class xtc.tree.Node
-
Determine whether this node is a generic node.
- isList(Object) - Static method in class xtc.tree.Node
-
Determine whether the specified object is a list of nodes.
- isToken() - Method in class xtc.tree.Node
-
Determine whether this node is a token.
- isToken() - Method in class xtc.tree.Token
-
- iterator() - Method in class xtc.tree.Node
-
Get an iterator over this node's children.
- iterator() - Method in class xtc.util.Pair
-
Get an iterator over the values of the list starting at this
pair.
- seenCR - Variable in class xtc.parser.Column
-
The flag for whether the previous character was a carriage
return.
- select(ParseError) - Method in class xtc.parser.ParseError
-
- select(ParseError, int) - Method in class xtc.parser.ParseError
-
- select(String, int) - Method in class xtc.parser.ParseError
-
Select the more specific parse error.
- select(ParseError) - Method in class xtc.parser.Result
-
Select the more specific parse error.
- select(ParseError, int) - Method in class xtc.parser.Result
-
Select the more specific parse error.
- select(ParseError) - Method in class xtc.parser.SemanticValue
-
- select(ParseError, int) - Method in class xtc.parser.SemanticValue
-
- semanticValue() - Method in class xtc.parser.ParseError
-
- semanticValue() - Method in class xtc.parser.Result
-
Get the semantic value for this result.
- SemanticValue - Class in xtc.parser
-
A semantic value.
- SemanticValue(Object, int) - Constructor for class xtc.parser.SemanticValue
-
Create a new semantic value.
- SemanticValue(Object, int, ParseError) - Constructor for class xtc.parser.SemanticValue
-
Create a new semantic value.
- semanticValue() - Method in class xtc.parser.SemanticValue
-
- set(int, Object) - Method in class xtc.tree.Node
-
Set the child at the specified index to the specified value.
- set(int, Object) - Method in class xtc.tree.Token
-
- set(int, T) - Method in class xtc.util.Pair
-
Replace the element at the specified index of the list starting
at this pair.
- setHead(T) - Method in class xtc.util.Pair
-
Set the head.
- setLastTail(Pair<T>) - Method in class xtc.util.Pair
-
Set the tail of this list's last pair to the specified value.
- setLocation(int, String, int, int) - Method in class xtc.parser.ParserBase
-
Set the location for the specified index.
- setLocation(Locatable, int) - Method in class xtc.parser.ParserBase
-
Set the location for the specified locatable object.
- setLocation(Location) - Method in interface xtc.tree.Locatable
-
Set this object's location.
- setLocation(Locatable) - Method in interface xtc.tree.Locatable
-
Set this object's location to the specified locatable's location.
- setLocation(Location) - Method in class xtc.tree.Node
-
- setLocation(Locatable) - Method in class xtc.tree.Node
-
- setNode(Node) - Method in class xtc.tree.Annotation
-
Set the annotated node.
- setProperty(String, Object) - Method in class xtc.tree.Node
-
Set the value of a property.
- setTail(Pair<T>) - Method in class xtc.util.Pair
-
Set the tail.
- signal(ParseError) - Method in class xtc.parser.ParserBase
-
Signal the specified parse error as a parse exception.
- size() - Method in class xtc.tree.Node
-
Get the number of children.
- size() - Method in class xtc.tree.Token
-
- size() - Method in class xtc.util.Pair
-
Get the size of the list starting at this pair.
- SPACE_NEWLINE_SPACE - Static variable in class xtc.util.Utilities
-
The regular expression pattern for newlines surrounded by spaces.
- split(String, char) - Static method in class xtc.util.Utilities
-
Split the specified identifier.
- start() - Method in interface xtc.util.State
-
Start a new state-modifying transaction.
- State - Interface in xtc.util
-
The interface for a global parser state object.
- strip() - Method in class xtc.tree.Annotation
-
- strip() - Method in class xtc.tree.Node
-
Strip any annotations.
- subtract(Pair<T>) - Method in class xtc.util.Pair
-
Subtract the elements on the list starting at the specified list
from the elements on the list starting at this pair.