| java.lang.Object fri.patterns.interpreter.parsergenerator.semantics.TreeBuilderSemantic
TreeBuilderSemantic | public class TreeBuilderSemantic implements Semantic(Code) | | A semantic that builds a syntax tree model from a parser run.
Every node of the result tree contains the rule and the parsed token list.
The result of the parser run can be retrieved by
(TreeBuilderSemantic.Node) parser.getResult().
author: (c) 2002, Fritz Ritzberger |
Inner Class :public static class Node | |
Method Summary | |
public Object | doSemantic(Rule rule, List inputTokens, List ranges) Implements Semantic to store every node of the syntax tree with rule and values. |
doSemantic | public Object doSemantic(Rule rule, List inputTokens, List ranges)(Code) | | Implements Semantic to store every node of the syntax tree with rule and values.
|
|
|