blob: 634983dce803c2713dd7af10b03f198a5f7e8c96 [file] [log] [blame]
%options escape=$
%options la=2
%options fp=LightweightParser,prefix=TK_
%options noserialize
--%options import_terminals=../QVTOLexer.gi
%options ast_type=CSTNode
%options template=btParserTemplateF.gi
%options include_directory=".;../lpg;../../lpg"
%Start
QvtLwGoal
%End
%Import
../QVTOParser.gi
%End
%Globals
/.
import org.eclipse.m2m.internal.qvt.oml.cst.parser.QVTOParserprs;
import org.eclipse.m2m.internal.qvt.oml.cst.parser.QVTOParsersym;
import org.eclipse.m2m.internal.qvt.oml.cst.parser.QVTOLexer;
import org.eclipse.m2m.internal.qvt.oml.cst.parser.AbstractQVTParser;
./
%End
%Rules
QvtLwGoal -> OclExpressionCS
QvtLwGoal -> topLevel
%End