io.github.scalats.ast

Members list

Concise view

Type members

Classlikes

case class ArrayRef(innerType: TypeRef) extends TypeRef

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

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

Attributes

innerType

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case object BooleanRef

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Self type
case class CustomTypeRef(name: String, typeArgs: List[TypeRef]) extends TypeRef with UnionMemberRef

Reference to a custom type.

Reference to a custom type.

Attributes

name

the type name

typeArgs

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case object DateRef

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Self type
DateRef.type
case object DateTimeRef

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Self type
sealed trait Declaration

A TypeScript type declaration

A TypeScript type declaration

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class DictionaryValue(name: String, keyTypeRef: TypeRef, valueTypeRef: TypeRef, entries: Map[Simple, Value]) extends Value

A dictionary Value.

A dictionary Value.

Attributes

entries

the dictionary entries

name

the member name

valueTypeRef

the reference for the values type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class EnumDeclaration(name: String, possibilities: ListSet[String], values: ListSet[Value]) extends Declaration

A declaration for an enumerated type.

A declaration for an enumerated type.

Attributes

possibilities

the allowed values

values

some extra invariant values

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final class InterfaceDeclaration extends Declaration

An interface declaration.

An interface declaration.

Attributes

fields

the interface fields

superInterface

the super interface (if any)

typeParams

the type parameters for the interface

union

this interface represents a union type

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class ListValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: List[Value]) extends Value

A list/multi Value.

A list/multi Value.

Attributes

elements

the list elements

name

the member name

valueTypeRef

the reference for the elements type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class LiteralValue(name: String, typeRef: TypeRef, rawValue: String) extends Value with SimpleValue

A literal Value.

A literal Value.

Attributes

name

the member name

typeRef

the reference for the member type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class MapType(keyType: TypeRef, valueType: TypeRef) extends TypeRef

Reference to a map/dictionary type.

Reference to a map/dictionary type.

Attributes

keyType

the type of the keys

valueType

the type of the values

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case class Member(name: String, typeRef: TypeRef)

A member Declaration (field/property).

A member Declaration (field/property).

Attributes

name

the member name

typeRef

the reference for the member type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class MergedListsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value

A list flatten from merged child lists Value.

A list flatten from merged child lists Value.

Attributes

children

the sub lists

name

the member name

valueTypeRef

the reference for the elements type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class MergedSetsValue(name: String, valueTypeRef: TypeRef, children: List[Value]) extends Value

A list flatten from merged child sets Value.

A list flatten from merged child sets Value.

Attributes

children

the sub sets

name

the member name

valueTypeRef

the reference for the elements type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class NullableType(innerType: TypeRef) extends TypeRef

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

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

Attributes

innerType

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
final class NumberRef

Attributes

Companion:
object
Graph
Supertypes
trait TypeRef
class Object
trait Matchable
class Any
object NumberRef

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class SelectValue(name: String, typeRef: TypeRef, qualifier: TypeRef, term: String) extends Value with SimpleValue

Attributes

name

the member name

typeRef

the reference for the member type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
case class SetRef(innerType: TypeRef) extends TypeRef

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

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

Attributes

innerType

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case class SetValue(name: String, typeRef: TypeRef, valueTypeRef: TypeRef, elements: Set[Value]) extends Value

A set/multi Value.

A set/multi Value.

Attributes

elements

the set elements

name

the member name

valueTypeRef

the reference for the elements type

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait SimpleValue

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
final class SingletonDeclaration extends Declaration

A singleton declaration.

A singleton declaration.

Attributes

superInterface

the super interface (if any)

values

the invariant values

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class SingletonTypeRef(name: String, values: ListSet[Value]) extends TypeRef with UnionMemberRef

Attributes

name

the type name

values

the invariant values

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case object StringRef

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Self type
case class TaggedDeclaration(name: String, field: Member) extends Declaration

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TaggedRef(name: String, tagged: TypeRef) extends TypeRef

Tagged type.

Tagged type.

Attributes

name

the type name

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
case object TimeRef

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Self type
TimeRef.type
case class TupleRef(typeArgs: List[TypeRef]) extends TypeRef

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

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

Attributes

typeArgs

the types for the tuple elements

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
sealed trait TypeRef

Reference to a builtin type or one declared elsewhere.

Reference to a builtin type or one declared elsewhere.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class UnionDeclaration(name: String, fields: ListSet[Member], possibilities: ListSet[TypeRef & UnionMemberRef], superInterface: Option[InterfaceDeclaration]) extends Declaration

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait UnionMemberRef

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
case class UnionType(possibilities: ListSet[TypeRef]) extends TypeRef

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

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
sealed trait Value

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Value

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type
final class ValueBodyDeclaration extends Declaration

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

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

Attributes

See also:
Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type