dev.galasa.framework.internal.rps.tree.rps.jjt Maven / Gradle / Ivy
options {
STATIC=false;
IGNORE_CASE=false;
MULTI=true;
FORCE_LA_CHECK=false;
NODE_PACKAGE="tree";
}
PARSER_BEGIN(RpsResolver)
package tree;
public class RpsResolver {
}
PARSER_END(RpsResolver)
TOKEN :
{
|
|
|
}
ASTStart Start() : {}
{
(
Constant() |
Variable()
)+
{ return jjtThis; }
}
void Constant() :
{
Token t;
}
{
t =
{
jjtThis.jjtSetValue(t.image);
}
}
void Variable() :
{
}
{
(
LOOKAHEAD(2)
MultiRange() |
SingleRange()
)+
}
void SingleRange() :
{
}
{
Constant()
}
void MultiRange() :
{
}
{
Constant()
Constant()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy