Package snap.parse
Class ParseRuleParser.ParseRuleFileHandler
- Enclosing class:
- ParseRuleParser
ParseRuleFile Handler: { ParseRule* }
-
Field Summary
Fields inherited from class snap.parse.ParseHandler
_backupHandler, _part
-
Constructor Summary
-
Method Summary
Methods inherited from class snap.parse.ParseHandler
createBackupHandler, createPart, fail, getAvailableHandler, getBackupHandler, getPart, getStartToken, isFail, parsedOne, reset
-
Constructor Details
-
ParseRuleFileHandler
public ParseRuleFileHandler()
-
-
Method Details
-
getPartClass
Returns the part class.- Overrides:
getPartClass
in classParseHandler<ParseRule>
-
parsedOne
Description copied from class:ParseHandler
Called when a child rule has been successfully parsed into given node.- Overrides:
parsedOne
in classParseHandler<ParseRule>
-
parsedAll
Override to reset Rules map.- Overrides:
parsedAll
in classParseHandler<ParseRule>
-