Package snap.parse
package snap.parse
-
ClassDescriptionThis Tokenizer subclass supports Java/C single-line and multi-line comments.An exception subclass for parser.ParseHandler<T>A class called when child rules are parsed.A parse node.A class to parse a given input (string) using given rule(s).A class to pass Handler by reference, allowing it to be created lazily, but used higher up in stack.A class to represent a parse rule.A Parser to parse simple snap grammar rule files.AndExpr Handler: { CountExpr CountExpr* }CountExpr Handler: { Expression ( "*" "+" "?" )? }Expression Handler: { String | "LookAhead" "(" (Number | OrExpr) ")" | Name | "(" OrExpr ")" }OrExpr Handler: { AndExpr ( "|" AndExpr )* }ParseRuleFile Handler: { ParseRule* }ParseRule Handler: { Name "{" OrExpr "}" }Represents an individual 'word' from parsed text.A Builder.A basic implementation of a Token.Reads/Writes ParseRules from/to file.A class for building regular expressions like a string buffer.A class for building regular expressions like a string buffer.This class holds TokenLines.A class to extract tokens from a char sequence.This class represents a line