Class BusinessBASICToken


  • public class BusinessBASICToken
    extends java.lang.Object
    Represents an Apple /// Business BASIC Token.
    See Also:
    ApplesoftTokenizer
    • Constructor Detail

      • BusinessBASICToken

        public BusinessBASICToken​(int lineNumber)
      • BusinessBASICToken

        public BusinessBASICToken​(byte tokenValue,
                                  java.lang.String tokenString)
      • BusinessBASICToken

        public BusinessBASICToken​(java.lang.String stringValue)
    • 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 class java.lang.Object