Commit c19ff077 authored by Anders Nilsson's avatar Anders Nilsson
Browse files

can now parse and dump tree of ontologyV07_instances.owl

parent ec3626d1
......@@ -338,6 +338,14 @@ void Identifier() #OwlIdentifier : {Token t;}
{jjtThis.setIDENTIFIER(t.image);}
}
void OtherToken() #OwlIdentifier : {Token t;}
{
t=<PLUS> | t=<MINUS> | t=<SLASH>
{jjtThis.setIDENTIFIER(t.image);}
}
void Element() : {}
{
ComplexElement()
......@@ -386,16 +394,12 @@ void FloatElement() #FloatElement : { Token t; }
void StringElement() #StringElement : {} //{ Token t; }
{
Identifier()
Identifier() | OtherToken()
// WordList()
// t = <VALUE_LITERAL>
// {jjtThis.setIDENTIFIER(t.image);}
}
void WordList() #List : {}
{
Identifier() ( Identifier() )*
}
// void OwlElement() : {}
// {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment