All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.galasa.framework.internal.rps.tree.rps.jjt Maven / Gradle / Ivy

There is a newer version: 0.37.0
Show newest version
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