Class AST

java.lang.Object
nz.org.riskscape.engine.typexp.AST
Direct Known Subclasses:
AST.ComplexType, AST.Constant, AST.Dictionary, AST.Symbol, AST.ValueList

public abstract class AST extends Object

AST base type plus subtypes for type expressions

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A type that needs arguments given to it to be created, like a struct has an identier and an argument list.
    static class 
    A constant, literal value, like a piece of text or a number
    static class 
    A map like structure where keys are symbols and the values are types or constants
    static class 
    A symbol is like an identifier - a string without quotes, a standalone token.
    static class 
    Wraps a list of nodes so that it conforms to the AST interface
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final Token
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AST(Token value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

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

    • value

      public final Token value
  • Constructor Details

    • AST

      public AST(Token value)
  • Method Details