Package one.empty3.library1.tree
Class StringAnalyzer3.TokenAttribute
java.lang.Object
one.empty3.library1.tree.StringAnalyzer3.Token
one.empty3.library1.tree.StringAnalyzer3.TokenAttribute
- Enclosing class:
StringAnalyzer3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy
(StringAnalyzer3.Token token) Creates a copy of the current Token object.int
Parses the input string starting from the given position and skips over any blank spaces.void
toString()
Methods inherited from class one.empty3.library1.tree.StringAnalyzer3.Token
action, addToken, fireOnTrue, getAction3, getConstruct, getFirstConstructVersion, getNextToken, hasNextToken, isSuccessful, processNext, setAction, setConstruct, setSuccessful, skipBlanks
-
Field Details
-
name
-
-
Constructor Details
-
TokenAttribute
-
-
Method Details
-
getRequiredName
-
getAttributeName
-
getAttributeValue
-
parse
Description copied from class:StringAnalyzer3.Token
Parses the input string starting from the given position and skips over any blank spaces.- Parameters:
input
- the input stringposition
- the starting position- Returns:
- the new position after skipping the blank spaces
-
copy
Description copied from class:StringAnalyzer3.Token
Creates a copy of the current Token object.- Returns:
- a new Token object that is a copy of the current Token (further step: make a deep copy with nextTokens and Token type fields.
-
setName
-
toString
- Overrides:
toString
in classStringAnalyzer3.Token
-