Class ParseHandler.BasicHandler<T>
java.lang.Object
com.inductiveautomation.snap.parse.ParseHandler.BasicHandler<T>
- All Implemented Interfaces:
ParseHandler
- Direct Known Subclasses:
JNodeParseHandler
- Enclosing interface:
ParseHandler
A class called when child rules are parsed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ParseHandler
ParseHandler.BasicHandler<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TCreates the part.Returns a backup handler.getPart()Returns the part.Returns the part class.Returns the token where the current part started.booleaninUse()Returns whether handler is currently in use.ParseHandler method.voidParseHandler method.
-
Field Details
-
_part
-
-
Constructor Details
-
BasicHandler
public BasicHandler()
-
-
Method Details
-
parsedOne
ParseHandler method.- Specified by:
parsedOnein interfaceParseHandler
-
parsedAll
-
getPart
Returns the part. -
createPart
Creates the part. -
getPartClass
-
getStartToken
Returns the token where the current part started. -
inUse
public boolean inUse()Returns whether handler is currently in use.- Specified by:
inUsein interfaceParseHandler
-
getBackupHandler
Returns a backup handler.- Specified by:
getBackupHandlerin interfaceParseHandler
-