polyglot.ext.ibex.types
Class Terminal_c

java.lang.Object
  extended bypolyglot.ext.jl.types.TypeObject_c
      extended bypolyglot.ext.jl.types.VarInstance_c
          extended bypolyglot.ext.jl.types.FieldInstance_c
              extended bypolyglot.ext.ibex.types.Terminal_c
All Implemented Interfaces:
java.lang.Cloneable, Copy, FieldInstance, MemberInstance, java.io.Serializable, Symbol, Terminal, TypeObject, VarInstance

public class Terminal_c
extends FieldInstance_c
implements Terminal

A Terminal can be used as a static field of type int.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class polyglot.ext.jl.types.FieldInstance_c
container
 
Fields inherited from class polyglot.ext.jl.types.VarInstance_c
constantValue, flags, isConstant, name, type
 
Fields inherited from class polyglot.ext.jl.types.TypeObject_c
position, ts
 
Constructor Summary
Terminal_c(IbexTypeSystem ts, Position pos, ParserType container, Flags flags, Type type, java.lang.String name)
           
 
Method Summary
 boolean isEOF()
           
 Type symbolType()
           
 java.lang.String toString()
           
 
Methods inherited from class polyglot.ext.jl.types.FieldInstance_c
constantValue, container, container, equalsImpl, flags, isCanonical, name, setConstantValue, setType, type
 
Methods inherited from class polyglot.ext.jl.types.VarInstance_c
constantValue, flags, hashCode, isConstant, name, type
 
Methods inherited from class polyglot.ext.jl.types.TypeObject_c
copy, equals, position, typeSystem
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.types.FieldInstance
constantValue, container, flags, name, setConstantValue, type
 
Methods inherited from interface polyglot.types.VarInstance
constantValue, flags, isConstant, name, setType, type
 
Methods inherited from interface polyglot.types.TypeObject
equalsImpl, isCanonical, position, typeSystem
 
Methods inherited from interface polyglot.util.Copy
copy
 
Methods inherited from interface polyglot.types.MemberInstance
container, flags
 
Methods inherited from interface polyglot.ext.ibex.types.Symbol
name
 

Constructor Detail

Terminal_c

public Terminal_c(IbexTypeSystem ts,
                  Position pos,
                  ParserType container,
                  Flags flags,
                  Type type,
                  java.lang.String name)
Method Detail

symbolType

public Type symbolType()
Specified by:
symbolType in interface Symbol

isEOF

public boolean isEOF()
Specified by:
isEOF in interface Terminal

toString

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