xrel.analyzer
Class TAProduct
java.lang.Object
|
+--xrel.analyzer.TA
|
+--xrel.analyzer.TAProduct
- All Implemented Interfaces:
- java.lang.Cloneable, SpecialNames, TABuildPhase
- public class TAProduct
- extends TA
- implements SpecialNames
TODO insert comment here
- Author:
- Fabrizio Bisi
Fields inherited from interface xrel.parser.SpecialNames |
AnyTagName, AnyTypeName, AutomatonPrefix, EmptyPatternName, ExportTypeName, ExpressionPrefix, PatternPrefix, SpecialPrefix, StringName, StringPatternName, StringTypeName, StrLiteralPrefix, StrLiteralSuffix, StrUnquotedPrefix, StrUnquotedSuffix |
Constructor Summary |
TAProduct(TA A1,
TA A2,
SymTable st,
boolean dbg,
java.io.PrintStream psOut,
boolean force)
|
Methods inherited from class xrel.analyzer.TA |
addEpsTransition, addEpsTransitions, addEpsTransitions, addEpsTransitions, addState, addTrans, clone, completeAutomaton, compute_closures, dump, epsilon_elimination, equals, force, getChildAutomata, getDescendantAutomata, getName, hashCode, isNull, merge, remove_unmatched, remove_unreachable_states, setDebug, simplify, toString, update |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TAProduct
public TAProduct(TA A1,
TA A2,
SymTable st,
boolean dbg,
java.io.PrintStream psOut,
boolean force)
getProductName
public static java.lang.String getProductName(TA A1,
TA A2)
getProductName
public static java.lang.String getProductName(java.lang.String s1,
java.lang.String s2)
build
public void build()
- Description copied from class:
TA
Subclasses must implement a matchTree function.
TODO this function will presumably change.
- Overrides:
build
in class TA
- Following copied from class:
xrel.analyzer.TA
- Parameters:
value
- the value to accept- Returns:
- true if the value matches the automaton
getState
protected xrel.analyzer.TAProductState getState(TAState s1,
TAState s2)