renommage de bloc en phrase dans le Parser + ReadMe
This commit is contained in:
@@ -23,15 +23,15 @@ options {
|
||||
}
|
||||
turtle returns[TurtleAST t]:
|
||||
{$t = new TurtleAST();}
|
||||
bloc[t] EOF
|
||||
phrase[t] EOF
|
||||
{$t.finishNtriple();}
|
||||
;
|
||||
bloc [TurtleAST parent]:
|
||||
phrase [TurtleAST parent]:
|
||||
s=sujet
|
||||
{$parent.addSujet($s.val);}
|
||||
listvc[parent] P moreBloc[parent] // <entity> list.
|
||||
listvc[parent] P morePhrase[parent] // <entity> list.
|
||||
;
|
||||
moreBloc [TurtleAST parent] : bloc[parent]
|
||||
morePhrase [TurtleAST parent] : phrase[parent]
|
||||
|
|
||||
;
|
||||
sujet returns[String val]:
|
||||
|
||||
Reference in New Issue
Block a user