Package snap.parse

Class ParseRuleParser

java.lang.Object
snap.parse.Parser
snap.parse.ParseRuleParser

public class ParseRuleParser extends Parser
A Parser to parse simple snap grammar rule files.
  • Constructor Details

    • ParseRuleParser

      public ParseRuleParser()
  • Method Details

    • createRule

      public ParseRule createRule()
      Creates a new ParseRule rule.
      Overrides:
      createRule in class Parser
    • createTokenizer

      protected Tokenizer createTokenizer()
      Override to allow rules files to have standard Java single/multiple line comments.
      Overrides:
      createTokenizer in class Parser