| java.lang.Object xtc.tree.Visitor xtc.parser.EquivalenceTester
EquivalenceTester | public EquivalenceTester()(Code) | | Create a new equivalence tester.
|
areEquivalent | public boolean areEquivalent(Production p1, Production p2)(Code) | | Determine whether the specified productions are equivalent.
Parameters: p1 - The first production. Parameters: p2 - The second production. true if the two productions are equivalent. |
areEquivalent | public boolean areEquivalent(Element e1, Element e2)(Code) | | Determine whether the specified elements are equivalent.
Parameters: e1 - The first element. Parameters: e2 - The second element. true if the two elements are equivalent. |
areEquivalent | protected boolean areEquivalent(List<Binding> l1, List<Binding> l2)(Code) | | Determine whether the specified lists of bindings are equivalent.
Parameters: l1 - The first list. Parameters: l2 - The second list. true if the two lists are equivalent. |
areEquivalent | protected boolean areEquivalent(GenericValue v1, GenericValue v2)(Code) | | Determine whether the specified generic values are equivalent.
Parameters: v1 - The first value. Parameters: v2 - The second value. true if the two values are equivalent. |
visit | public Boolean visit(UnaryOperator op1)(Code) | | Visit the specified unary operator. This method provides the
default implementation for options, predicates, voided elements,
and parser actions.
|
visit | public Boolean visit(Element e1)(Code) | | Visit the specified element. This method provides the default
implementation for terminals, node markers, null literals,
actions, and null, string, text, empty list, generic string, and
generic text values.
|
|
|