Package

io.github.scalats

ast

Permalink

package ast

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayRef(innerType: TypeRef) extends TypeRef with Product with Serializable

    Permalink

    Reference to an type of Array (e.g.

    Reference to an type of Array (e.g. Array<string>).

    innerType

    the element type (e.g. string for Array<string>)

  2. case class CompositeDeclaration(name: String, members: ListSet[Declaration]) extends Declaration with Product with Serializable

    Permalink
  3. case class CustomTypeRef(name: String, typeArgs: List[TypeRef] = Nil) extends TypeRef with UnionMemberRef with GenericTypeRef with Product with Serializable

    Permalink

    Reference to a custom type.

    Reference to a custom type.

    name

    the type name

    typeArgs

    the type arguments (e.g. string for CustomType<string>)

  4. sealed trait Declaration extends AnyRef

    Permalink

    A TypeScript type declaration

  5. case class DictionaryValue(name: String, keyTypeRef: TypeRef, valueTypeRef: TypeRef, entries: Map[Simple, Value]) extends Value with Product with Serializable

    Permalink

    A dictionary Value.

    A dictionary Value.

    name

    the member name

    valueTypeRef

    the reference for the values type

    entries

    the dictionary entries

  6. case class EnumDeclaration(name: String, possibilities: ListSet[String], values: ListSet[Value]) extends Declaration with Product with Serializable

    Permalink

    A declaration for an enumerated type.

    A declaration for an enumerated type.

    possibilities

    the allowed values

    values

    some extra invariant values

  7. final class InterfaceDeclaration extends Declaration

    Permalink

    An interface declaration.

  8. case class ListValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: List[Value]) extends Value with Product with Serializable

    Permalink

    A list/multi Value.

    A list/multi Value.

    name

    the member name

    valueTypeRef

    the reference for the elements type

    elements

    the list elements

  9. case class LiteralValue(name: String, typeRef: TypeRef, rawValue: String) extends Value with SimpleValue with Product with Serializable

    Permalink

    A literal Value.

    A literal Value.

    name

    the member name

    typeRef

    the reference for the member type

  10. case class MapType(keyType: TypeRef, valueType: TypeRef) extends TypeRef with Product with Serializable

    Permalink

    Reference to a map/dictionary type.

    Reference to a map/dictionary type.

    keyType

    the type of the keys

    valueType

    the type of the values

  11. case class Member(name: String, typeRef: TypeRef) extends Product with Serializable

    Permalink

    A member Declaration (field/property).

    A member Declaration (field/property).

    name

    the member name

    typeRef

    the reference for the member type

  12. case class MergedListsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value with Product with Serializable

    Permalink

    A list flatten from merged child lists Value.

    A list flatten from merged child lists Value.

    name

    the member name

    valueTypeRef

    the reference for the elements type

    children

    the sub lists

  13. case class MergedSetsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value with Product with Serializable

    Permalink

    A list flatten from merged child sets Value.

    A list flatten from merged child sets Value.

    name

    the member name

    valueTypeRef

    the reference for the elements type

    children

    the sub sets

  14. case class NullableType(innerType: TypeRef) extends TypeRef with Product with Serializable

    Permalink

    Reference to a nullable type (e.g.

    Reference to a nullable type (e.g. an optional string).

    innerType

    the inner type (e.g. string for nullable string)

  15. final class NumberRef extends SimpleTypeRef

    Permalink
  16. case class SelectValue(name: String, typeRef: TypeRef, qualifier: TypeRef, term: String) extends Value with SimpleValue with Product with Serializable

    Permalink

    name

    the member name

    typeRef

    the reference for the member type

  17. case class SetRef(innerType: TypeRef) extends TypeRef with Product with Serializable

    Permalink

    Reference to an type of Set (e.g.

    Reference to an type of Set (e.g. Set<string>).

    innerType

    the element type (e.g. string for Set<string>)

  18. case class SetValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: Set[Value]) extends Value with Product with Serializable

    Permalink

    A set/multi Value.

    A set/multi Value.

    name

    the member name

    valueTypeRef

    the reference for the elements type

    elements

    the set elements

  19. sealed trait SimpleValue extends AnyRef

    Permalink
  20. final class SingletonDeclaration extends Declaration

    Permalink

    A singleton declaration.

  21. case class SingletonTypeRef(name: String, values: ListSet[Value]) extends TypeRef with UnionMemberRef with Product with Serializable

    Permalink

    name

    the type name

    values

    the invariant values

  22. case class SingletonValue(name: String, typeRef: TypeRef) extends Value with Product with Serializable

    Permalink
  23. case class TaggedDeclaration(name: String, field: Member) extends Declaration with Product with Serializable

    Permalink
  24. case class TaggedRef(name: String, tagged: TypeRef) extends TypeRef with Product with Serializable

    Permalink

    Tagged type.

    Tagged type.

    name

    the type name

  25. case class TupleRef(typeArgs: List[TypeRef]) extends TypeRef with GenericTypeRef with Product with Serializable

    Permalink

    Reference to a type of tuple (e.g.

    Reference to a type of tuple (e.g. [string, int]).

    typeArgs

    the types for the tuple elements

  26. sealed trait TypeRef extends AnyRef

    Permalink

    Reference to a builtin type or one declared elsewhere.

  27. case class UnionDeclaration(name: String, fields: ListSet[Member], possibilities: ListSet[TypeRef with UnionMemberRef], superInterface: Option[InterfaceDeclaration]) extends Declaration with Product with Serializable

    Permalink
  28. sealed trait UnionMemberRef extends AnyRef

    Permalink
  29. case class UnionType(possibilities: ListSet[TypeRef]) extends TypeRef with Product with Serializable

    Permalink

    Reference to a union type (e.g.

    Reference to a union type (e.g. string | number)

  30. sealed trait Value extends AnyRef

    Permalink
  31. final class ValueBodyDeclaration extends Declaration

    Permalink

    Declaration of the body/rhs for a Value, either as a whole member or part of (e.g.

    Declaration of the body/rhs for a Value, either as a whole member or part of (e.g. inside ListValue).

    See also

    ValueMemberDeclaration

  32. final class ValueMemberDeclaration extends Declaration

    Permalink

Value Members

  1. object BooleanRef extends SimpleTypeRef with Product with Serializable

    Permalink
  2. object DateRef extends SimpleTypeRef with Product with Serializable

    Permalink
  3. object DateTimeRef extends SimpleTypeRef with Product with Serializable

    Permalink
  4. object Declaration

    Permalink
  5. object InterfaceDeclaration

    Permalink
  6. object NumberRef

    Permalink
  7. object SimpleTypeRef

    Permalink
  8. object SingletonDeclaration

    Permalink
  9. object StringRef extends SimpleTypeRef with Product with Serializable

    Permalink
  10. object TimeRef extends SimpleTypeRef with Product with Serializable

    Permalink
  11. object Value

    Permalink
  12. object ValueBodyDeclaration

    Permalink
  13. object ValueMemberDeclaration

    Permalink

Ungrouped