Package edu.uky.ai.io

Class Symbol

java.lang.Object
edu.uky.ai.io.Node
edu.uky.ai.io.Symbol

public class Symbol
extends Node
A symbol is a string of characters.
Author:
Stephen G. Ware
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String value
    The value of the symbol

    Fields inherited from class edu.uky.ai.io.Node

    next
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class edu.uky.ai.io.Node

    asList, asList, asSymbol, asSymbol, isList, isList, isSymbol, isSymbol, parse, parse, requireNext

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • value

      public final java.lang.String value
      The value of the symbol
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object