|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SimpleNode | |
xrel.analyzer | This package contains the classes that process the output of the parser and that perform static checking of the program. |
xrel.parser | Many classes here are generated by JavaCC / JJTree. |
xrel.xml | Here you can find the XML parser. |
Uses of SimpleNode in xrel.analyzer |
Methods in xrel.analyzer that return SimpleNode | |
static SimpleNode |
PatternMatching.getEvaluation()
Evaluates the output value. |
static SimpleNode |
Translate.desugarElement(SymTable st,
SimpleNode node)
Removes the operators "+" and "?" |
Methods in xrel.analyzer with parameters of type SimpleNode | |
static int |
PatternMatching.matchWith(SymTable st,
SimpleNode value,
java.io.PrintStream out,
boolean debug)
The main method of this class. |
static SimpleNode |
Translate.desugarElement(SymTable st,
SimpleNode node)
Removes the operators "+" and "?" |
static boolean |
WellFormedness.disconnectedness(SymTable st,
SimpleNode root)
Checks that all the type declarations in the program don't have recursion at the top-level. |
static boolean |
WellFormedness.checkLinearity(SymTable st,
SimpleNode root)
Checks that all the patterns inside the program are linear. |
boolean |
TASimple.matchTree(SimpleNode value,
boolean runtimeDebug)
This function checks if the automaton accepts a given value. |
Uses of SimpleNode in xrel.parser |
Subclasses of SimpleNode in xrel.parser | |
class |
ASTAs
|
class |
ASTCase
|
class |
ASTComma
|
class |
ASTEmpty
|
class |
ASTExportTp
|
class |
ASTIdentifier
|
class |
ASTImportSt
|
class |
ASTOperator
|
class |
ASTPar
|
class |
ASTProgram
|
class |
ASTStatementList
|
class |
ASTString
|
class |
ASTStringLiteral
|
class |
ASTSwitchCase
|
class |
ASTTag
|
class |
ASTTypeDecl
|
Methods in xrel.parser that return SimpleNode | |
SimpleNode |
SimpleNode.jjtmCloneSubtree()
Clones this node and the whole subtree (by converse clone() makes only a copy of the node itself). |
SimpleNode |
SymTable.getClause(int i)
|
SimpleNode |
SymTable.getTypeSwNode()
|
SimpleNode |
SymTable.getImportSt()
|
SimpleNode |
SymElement.getNode()
Gets the subtree of the syntax tree associated to the element. |
SimpleNode |
SymElement.getValue()
Gets the value associated to this variable after a binding. |
Methods in xrel.parser with parameters of type SimpleNode | |
int |
SimpleNode.jjtmSearchChild(SimpleNode node)
Searches a child. |
java.lang.Object |
XRelParserVisitor.visit(SimpleNode node,
java.lang.Object data)
|
SymElement |
SymTable.put_type(int scope,
java.lang.String name,
SimpleNode nodeValue)
Puts a type into the symbol table. |
SymElement |
SymTable.put_var(int scope,
java.lang.String name,
SimpleNode nodeValue)
Puts a variable into the symbol table. |
void |
SymTable.put_pat(int scope,
java.lang.String name,
SimpleNode nodeValue)
Puts a pattern into the symbol table. |
void |
SymTable.put_expressions(int scope,
SimpleNode nodeValue)
Puts expressions of a code block into the symbol table. |
void |
SymTable.add_parsing_error(SimpleNode n,
java.lang.String msg)
|
void |
SymTable.add_syntax_error(SimpleNode n,
java.lang.String msg)
|
void |
SymTable.add_type_error(SimpleNode n,
java.lang.String msg)
|
void |
SymTable.add_warning(SimpleNode n,
java.lang.String msg)
|
void |
SymTable.checkErrors(SimpleNode rt)
|
void |
SymTable.showErrors(java.io.PrintStream out,
SimpleNode rt)
|
void |
SymElement.setNode(SimpleNode n)
Sets the subtree associated to the element. |
void |
SymElement.setValue(SimpleNode v)
Sets the value associated to this variable as a result of a binding. |
java.lang.Object |
WriteTokensVisitor.print(SimpleNode node,
java.lang.Object data)
|
java.lang.Object |
WriteTokensVisitor.visit(SimpleNode node,
java.lang.Object data)
|
java.lang.Object |
ErrorCheckVisitor.visit(SimpleNode node,
java.lang.Object data)
Default visitor. |
Constructors in xrel.parser with parameters of type SimpleNode | |
SymElement(SymTable st,
int scope,
java.lang.String nm,
int k,
SimpleNode nd)
This is the only constructor you can use to initialize an object of the symbol table. |
Uses of SimpleNode in xrel.xml |
Methods in xrel.xml that return SimpleNode | |
static SimpleNode |
XmlDoc.convert()
Converts the XML document imported from file with loadFrom() in an internal format. |
protected static SimpleNode |
XmlDoc.xmlSubtree(org.w3c.dom.Node node)
Traverses the specified node recursively and produces an equivalent internal subtree. This function phisically does the translation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |