package ast
- Alphabetic
- Public
- Protected
Type Members
- case class ArrayRef(innerType: TypeRef) extends TypeRef with Product with Serializable
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
forArray<string>
)
- case class CustomTypeRef(name: String, typeArgs: List[TypeRef] = Nil) extends TypeRef with UnionMemberRef with GenericTypeRef with Product with Serializable
Reference to a custom type.
Reference to a custom type.
- name
the type name
- typeArgs
the type arguments (e.g.
string
forCustomType<string>
)
- sealed trait Declaration extends AnyRef
A TypeScript type declaration
- case class DictionaryValue(name: String, keyTypeRef: TypeRef, valueTypeRef: TypeRef, entries: Map[Simple, Value]) extends Value with Product with Serializable
A dictionary Value.
A dictionary Value.
- name
the member name
- valueTypeRef
the reference for the values type
- entries
the dictionary entries
- case class EnumDeclaration(name: String, possibilities: ListSet[String], values: ListSet[Value]) extends Declaration with Product with Serializable
A declaration for an enumerated type.
A declaration for an enumerated type.
- possibilities
the allowed values
- values
some extra invariant values
- final class InterfaceDeclaration extends Declaration
An interface declaration.
- case class ListValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: List[Value]) extends Value with Product with Serializable
A list/multi Value.
A list/multi Value.
- name
the member name
- valueTypeRef
the reference for the elements type
- elements
the list elements
- case class LiteralValue(name: String, typeRef: TypeRef, rawValue: String) extends Value with SimpleValue with Product with Serializable
A literal Value.
A literal Value.
- name
the member name
- typeRef
the reference for the member type
- case class MapType(keyType: TypeRef, valueType: TypeRef) extends TypeRef with Product with Serializable
Reference to a map/dictionary type.
Reference to a map/dictionary type.
- keyType
the type of the keys
- valueType
the type of the values
- case class Member(name: String, typeRef: TypeRef) extends Product with Serializable
A member Declaration (field/property).
A member Declaration (field/property).
- name
the member name
- typeRef
the reference for the member type
- case class MergedListsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value with Product with Serializable
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
- case class MergedSetsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value with Product with Serializable
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
- case class NullableType(innerType: TypeRef) extends TypeRef with Product with Serializable
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)
- sealed class NumberRef extends SimpleTypeRef
- case class SelectValue(name: String, typeRef: TypeRef, qualifier: TypeRef, term: String) extends Value with SimpleValue with Product with Serializable
- name
the member name
- typeRef
the reference for the member type
- case class SetRef(innerType: TypeRef) extends TypeRef with Product with Serializable
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
forSet<string>
)
- case class SetValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: Set[Value]) extends Value with Product with Serializable
A set/multi Value.
A set/multi Value.
- name
the member name
- valueTypeRef
the reference for the elements type
- elements
the set elements
- sealed trait SimpleValue extends AnyRef
- final class SingletonDeclaration extends Declaration
A singleton declaration.
- case class SingletonTypeRef(name: String, values: ListSet[Value]) extends TypeRef with UnionMemberRef with Product with Serializable
- name
the type name
- values
the invariant values
- case class TaggedDeclaration(name: String, field: Member) extends Declaration with Product with Serializable
- case class TaggedRef(name: String, tagged: TypeRef) extends TypeRef with Product with Serializable
Tagged type.
Tagged type.
- name
the type name
- case class TupleRef(typeArgs: List[TypeRef]) extends TypeRef with GenericTypeRef with Product with Serializable
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
- sealed trait TypeRef extends AnyRef
Reference to a builtin type or one declared elsewhere.
- case class UnionDeclaration(name: String, fields: ListSet[Member], possibilities: ListSet[TypeRef with UnionMemberRef], superInterface: Option[InterfaceDeclaration]) extends Declaration with Product with Serializable
- sealed trait UnionMemberRef extends AnyRef
- case class UnionType(possibilities: ListSet[TypeRef]) extends TypeRef with Product with Serializable
Reference to a union type (e.g.
Reference to a union type (e.g.
string | number
) - sealed trait Value extends AnyRef
- final class ValueBodyDeclaration extends Declaration
Declaration of the body/rhs for a Value, either as a whole member or part of (e.g.
- final class ValueMemberDeclaration extends Declaration
Value Members
- case object BooleanRef extends SimpleTypeRef with Product with Serializable
- case object DateRef extends SimpleTypeRef with Product with Serializable
- case object DateTimeRef extends SimpleTypeRef with Product with Serializable
- object Declaration
- object InterfaceDeclaration
- object NumberRef
- object SimpleTypeRef
- object SingletonDeclaration
- case object StringRef extends SimpleTypeRef with Product with Serializable
- case object TimeRef extends SimpleTypeRef with Product with Serializable
- object Value
- object ValueBodyDeclaration
- object ValueMemberDeclaration