Class BusinessBASICToken
- java.lang.Object
-
- com.webcodepro.applecommander.util.BusinessBASICToken
-
public class BusinessBASICToken extends java.lang.Object
Represents an Apple /// Business BASIC Token.- See Also:
ApplesoftTokenizer
-
-
Constructor Summary
Constructors Constructor Description BusinessBASICToken(byte tokenValue, java.lang.String tokenString)
BusinessBASICToken(int lineNumber)
BusinessBASICToken(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
isIndenter()
boolean
isLineNumber()
boolean
isOutdenter()
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()
-
isIndenter
public boolean isIndenter()
-
isOutdenter
public boolean isOutdenter()
-
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
-
-