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

javacc-7.0.1.test.TestTokenManagerUsesParser2.TestTokenManagerUsesParser2.jj Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version

options {
  STATIC = false;
  DEBUG_PARSER = false;
  DEBUG_LOOKAHEAD = false;
  TOKEN_MANAGER_USES_PARSER = true;
}

PARSER_BEGIN(TestTokenManagerUsesParser)


public class TestTokenManagerUsesParser {

}

PARSER_END(TestTokenManagerUsesParser)

SPECIAL_TOKEN :
{
      < WHITESPACE: " " | "\t" | "\n" | "\r" >
}
TOKEN :
{
      < FOUR: "four" >
    | < FIVE: "five" >
    | < SIX:  "six" >
}

void parse() : {}
{
    ( < FOUR > | < FIVE > | < SIX >)+
    < EOF >
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy