Class Data

java.lang.Object
eu.bandm.tools.ramus.runtime2.Data
Direct Known Subclasses:
AtomicData, Content, Option, Pair, Sequence, Tagged

public abstract class Data extends Object
Abstract base class of AST data.
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • asSequence

      public final Sequence asSequence()
    • asAtomic

      public final <T> AtomicData<T> asAtomic(Class<T> type)
    • asAtomic

      public final AtomicData<?> asAtomic()
    • asContent

      public final Content asContent()
    • asOption

      public final Option asOption()
    • asTagged

      public final Tagged asTagged()
    • asPair

      public final Pair asPair()