tudresden.ocl.parser
Class OclParser
java.lang.Object
tudresden.ocl.parser.parser.Parser
tudresden.ocl.parser.OclParser
- public class OclParser
- extends Parser
This class adapts the Parser class generated by SableCC to produce
abstract syntax trees (instead of concrete syntax trees). It is necessary
because the OCL grammar is not LALR(1)-parsable.
Method Summary |
protected void |
filter()
|
Methods inherited from class tudresden.ocl.parser.parser.Parser |
parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fix
protected OclParser.AstFix fix
oclNode
protected Node oclNode
OclParser
public OclParser(Lexer lexer)
filter
protected void filter()
- Overrides:
filter
in class Parser
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.