io.github.scalats.ast

Members list

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>).

Value parameters

innerType

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

Attributes

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

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Show all
Self type
BooleanRef.type
case class CompositeDeclaration(name: String, members: ListSet[Declaration]) extends Declaration

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Declaration
class Object
trait Matchable
class Any
Show all
case class CustomTypeRef(name: String, typeArgs: List[TypeRef]) extends TypeRef, UnionMemberRef

Reference to a custom type.

Reference to a custom type.

Value parameters

name

the type name

typeArgs

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

Attributes

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

Attributes

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

Attributes

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

A TypeScript type declaration

A TypeScript type declaration

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Declaration

Attributes

Companion
trait
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.

Value parameters

entries

the dictionary entries

name

the member name

valueTypeRef

the reference for the values type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
Show all
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.

Value parameters

possibilities

the allowed values

values

some extra invariant values

Attributes

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

An interface declaration.

An interface declaration.

Value parameters

fields

the interface fields

superInterface

the super interface (if any)

typeParams

the type parameters for the interface

union

this interface represents a union type

Attributes

Companion
object
Supertypes
trait Declaration
class Object
trait Matchable
class Any

Attributes

Companion
class
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.

Value parameters

elements

the list elements

name

the member name

valueTypeRef

the reference for the elements type

Attributes

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

A literal Value.

A literal Value.

Value parameters

name

the member name

typeRef

the reference for the member type

Attributes

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

Reference to a map/dictionary type.

Reference to a map/dictionary type.

Value parameters

keyType

the type of the keys

valueType

the type of the values

Attributes

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

A member Declaration (field/property).

A member Declaration (field/property).

Value parameters

name

the member name

typeRef

the reference for the member type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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.

Value parameters

children

the sub lists

name

the member name

valueTypeRef

the reference for the elements type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
Show all
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.

Value parameters

children

the sub sets

name

the member name

valueTypeRef

the reference for the elements type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
Show all
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).

Value parameters

innerType

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

Attributes

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

Attributes

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

Attributes

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

Value parameters

name

the member name

typeRef

the reference for the member type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SimpleValue
trait Value
class Object
trait Matchable
class Any
Show all
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>).

Value parameters

innerType

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

Attributes

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

A set/multi Value.

A set/multi Value.

Value parameters

elements

the set elements

name

the member name

valueTypeRef

the reference for the elements type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
Show all
object SimpleTypeRef

Attributes

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

Attributes

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

A singleton declaration.

A singleton declaration.

Value parameters

superInterface

the super interface (if any)

values

the invariant values

Attributes

Companion
object
Supertypes
trait Declaration
class Object
trait Matchable
class Any

Attributes

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

Value parameters

name

the type name

values

the invariant values

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Show all
case class SingletonValue(name: String, typeRef: TypeRef) extends Value

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Value
class Object
trait Matchable
class Any
Show all
case object StringRef

Attributes

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

Attributes

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

Tagged type.

Tagged type.

Value parameters

name

the type name

Attributes

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

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Show all
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]).

Value parameters

typeArgs

the types for the tuple elements

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeRef
class Object
trait Matchable
class Any
Show all
sealed trait TypeRef

Reference to a builtin type or one declared elsewhere.

Reference to a builtin type or one declared elsewhere.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ArrayRef
class MapType
class NullableType
class SetRef
class TaggedRef
class TupleRef
class UnionType
Show all
case class UnionDeclaration(name: String, fields: ListSet[Member], possibilities: ListSet[TypeRef & UnionMemberRef], superInterface: Option[InterfaceDeclaration]) extends Declaration

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Declaration
class Object
trait Matchable
class Any
Show all
sealed trait UnionMemberRef

Attributes

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

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

Attributes

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

Attributes

Companion
trait
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
Supertypes
trait Declaration
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ValueMemberDeclaration extends Declaration

Attributes

Companion
object
Supertypes
trait Declaration
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type