Class ApplesoftToken
- java.lang.Object
-
- com.webcodepro.applecommander.util.ApplesoftToken
-
public class ApplesoftToken extends java.lang.Object
Represents an ApplesoftToken.- See Also:
ApplesoftTokenizer
-
-
Constructor Summary
Constructors Constructor Description ApplesoftToken(byte tokenValue, java.lang.String tokenString)
ApplesoftToken(int lineNumber)
ApplesoftToken(java.lang.String stringValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
Get the line number.java.lang.String
getStringValue()
Get the string value.java.lang.String
getTokenString()
Get the token.byte
getTokenValue()
Get the token.boolean
isCommandSeparator()
boolean
isEndOfCommand()
boolean
isExpressionSeparator()
boolean
isLineNumber()
boolean
isString()
boolean
isToken()
java.lang.String
toString()
Render the token as a useful String.
-
-
-
Method Detail
-
isCommandSeparator
public boolean isCommandSeparator()
-
isLineNumber
public boolean isLineNumber()
-
isEndOfCommand
public boolean isEndOfCommand()
-
isToken
public boolean isToken()
-
isString
public boolean isString()
-
isExpressionSeparator
public boolean isExpressionSeparator()
-
getLineNumber
public int getLineNumber()
Get the line number.
-
getStringValue
public java.lang.String getStringValue()
Get the string value.
-
getTokenString
public java.lang.String getTokenString()
Get the token.
-
getTokenValue
public byte getTokenValue()
Get the token.
-
toString
public java.lang.String toString()
Render the token as a useful String.- Overrides:
toString
in classjava.lang.Object
-
-