package source
- Alphabetic
- Public
- All
Type Members
- final case class And() extends BooleanOp with Product with Serializable
- final case class BinaryConst(bytes: Array[Byte]) extends Const with Product with Serializable
-
final
case class
BinaryExp(binaryOp: BinaryOp, left: Exp, right: Exp) extends Rql2Exp with PrettyBinaryExpression with Product with Serializable
Binary Operators
- sealed abstract class BinaryOp extends Rql2Node
- final case class BoolConst(value: Boolean) extends Const with Product with Serializable
- sealed abstract class BooleanOp extends BinaryOp
- final case class ByteConst(value: String) extends NumberConst with Product with Serializable
- sealed abstract class ComparableOp extends BinaryOp
-
trait
Const extends Rql2Exp
Constants
- final case class DecimalConst(value: String) extends NumberConst with Product with Serializable
- final case class Div() extends BinaryOp with Product with Serializable
- final case class DoesNotHaveTypeProperties(props: Set[Rql2TypeProperty]) extends Rql2TypeConstraint with Product with Serializable
- final case class DoubleConst(value: String) extends NumberConst with Product with Serializable
- final case class Eq() extends ComparableOp with Product with Serializable
-
final
case class
ExpType(t: Type) extends Rql2Type with Product with Serializable
Expression Type.
Expression Type.
The type of an expression such as
type int
. - final case class ExpectedProjType(i: String) extends Rql2TypeConstraint with Product with Serializable
- final case class FloatConst(value: String) extends NumberConst with Product with Serializable
-
final
case class
FunAbs(p: FunProto) extends Rql2Exp with Product with Serializable
Function Abstraction
-
final
case class
FunApp(f: Exp, args: Vector[FunAppArg]) extends Rql2Exp with Product with Serializable
Function Application
- final case class FunAppArg(e: Exp, idn: Option[String]) extends Rql2Node with Product with Serializable
- final case class FunBody(e: Exp) extends Rql2Node with Product with Serializable
- final case class FunOptTypeParam(i: String, t: Type) extends Rql2Node with Product with Serializable
- final case class FunParam(i: IdnDef, t: Option[Type], e: Option[Exp]) extends Rql2Node with Product with Serializable
- final case class FunProto(ps: Vector[FunParam], r: Option[Type], b: FunBody) extends Rql2Node with Product with Serializable
-
final
case class
FunType(ms: Vector[Type], os: Vector[FunOptTypeParam], r: Type, props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
Function Type.
- final case class Ge() extends ComparableOp with Product with Serializable
- final case class Gt() extends ComparableOp with Product with Serializable
- final case class HasTypeProperties(props: Set[Rql2TypeProperty]) extends Rql2TypeConstraint with Product with Serializable
-
final
case class
IfThenElse(e1: Exp, e2: Exp, e3: Exp) extends Rql2Exp with Product with Serializable
Tertiary Operators
- final case class IntConst(value: String) extends NumberConst with Product with Serializable
- final case class IsNullable() extends Rql2TypeConstraint with Product with Serializable
- final case class IsTryable() extends Rql2TypeConstraint with Product with Serializable
- final case class Le() extends ComparableOp with Product with Serializable
-
final
case class
Let(decls: Vector[LetDecl], e: Exp) extends Rql2Exp with Product with Serializable
Let
- final case class LetBind(e: Exp, i: IdnDef, t: Option[Type]) extends LetDecl with Product with Serializable
- sealed abstract class LetDecl extends Rql2Node
- final case class LetFun(p: FunProto, i: IdnDef) extends LetDecl with Product with Serializable
- final case class LetFunRec(i: IdnDef, p: FunProto) extends LetDecl with Product with Serializable
- final case class LongConst(value: String) extends NumberConst with Product with Serializable
- final case class Lt() extends ComparableOp with Product with Serializable
- final case class MergeableType(t: Type) extends Rql2TypeConstraint with Product with Serializable
- final case class Mod() extends BinaryOp with Product with Serializable
- final case class Mult() extends BinaryOp with Product with Serializable
- final case class Neg() extends UnaryOp with Product with Serializable
- final case class Neq() extends ComparableOp with Product with Serializable
- final case class Not() extends UnaryOp with Product with Serializable
- final case class NullConst() extends Const with Product with Serializable
-
trait
NumberConst extends Const
Number Constants
- final case class Or() extends BooleanOp with Product with Serializable
- final case class PackageEntryType(pkgName: String, entName: String) extends Rql2Type with Product with Serializable
-
final
case class
PackageIdnExp(name: String) extends Rql2Exp with Product with Serializable
PackageIdnExp
PackageIdnExp
Used to refer to built-in package names.
-
final
case class
PackageType(name: String) extends Rql2Type with Product with Serializable
Package Type.
- final case class Plus() extends BinaryOp with Product with Serializable
-
final
case class
Proj(e: Exp, i: String) extends Rql2Exp with Product with Serializable
Projection
- final case class Rql2AttrType(idn: String, tipe: Type) extends Rql2Node with Product with Serializable
- final case class Rql2BinaryType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2PrimitiveType with Product with Serializable
- final case class Rql2BoolType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2PrimitiveType with Product with Serializable
- final case class Rql2ByteType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2IntegralNumberType with Product with Serializable
- final case class Rql2DateType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TemporalType with Product with Serializable
- final case class Rql2DecimalType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2NumberType with Product with Serializable
- final case class Rql2DoubleType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2NumberType with Product with Serializable
- sealed trait Rql2Exp extends Exp with Rql2Node
- final case class Rql2FloatType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2NumberType with Product with Serializable
- final case class Rql2IntType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2IntegralNumberType with Product with Serializable
- sealed trait Rql2IntegralNumberType extends Rql2NumberType
- final case class Rql2IntervalType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TemporalType with Product with Serializable
- final case class Rql2IsNullableTypeProperty() extends Rql2TypeProperty with Product with Serializable
- final case class Rql2IsTryableTypeProperty() extends Rql2TypeProperty with Product with Serializable
-
final
case class
Rql2IterableType(innerType: Type, props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
Iterable Type
-
final
case class
Rql2ListType(innerType: Type, props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
List Type
List Type
Inherits from IterableType but provides index operations.
- final case class Rql2LocationType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2PrimitiveType with Product with Serializable
- final case class Rql2LongType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2IntegralNumberType with Product with Serializable
- final case class Rql2Method(p: FunProto, i: IdnDef) extends Rql2Node with Product with Serializable
- sealed trait Rql2Node extends SourceNode
-
sealed
trait
Rql2NumberType extends Rql2PrimitiveType
Number types
Number types
These are also primitive types.
-
final
case class
Rql2OrType(tipes: Vector[Type], props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
Or Type.
-
sealed
trait
Rql2PrimitiveType extends Rql2TypeWithProperties
Primitive types
- final case class Rql2Program(methods: Vector[Rql2Method], me: Option[Exp]) extends Rql2Node with SourceProgram with Product with Serializable
-
final
case class
Rql2RecordType(atts: Vector[Rql2AttrType], props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
Record Type
- final case class Rql2ShortType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2IntegralNumberType with Product with Serializable
- final case class Rql2StringType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2PrimitiveType with Product with Serializable
-
sealed
trait
Rql2TemporalType extends Rql2PrimitiveType
Temporal types
Temporal types
These are also primitive types.
- final case class Rql2TimeType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TemporalType with Product with Serializable
- final case class Rql2TimestampType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TemporalType with Product with Serializable
- sealed trait Rql2Type extends Type with Rql2Node
- sealed trait Rql2TypeConstraint extends Rql2Type
- sealed trait Rql2TypeProperty extends Rql2Node
-
sealed
trait
Rql2TypeWithProperties extends Rql2Type
A subset of RQL2 types have type properties.
- final case class Rql2UndefinedType(props: Set[Rql2TypeProperty] = Set.empty) extends Rql2TypeWithProperties with Product with Serializable
- final case class ShortConst(value: String) extends NumberConst with Product with Serializable
-
class
SourceCommentsPrettyPrinter extends SourcePrettyPrinter
Pretty printer which parses and pretty-prints code with comments Mostly uses the function 'withComments' to add comments to parent functions.
Pretty printer which parses and pretty-prints code with comments Mostly uses the function 'withComments' to add comments to parent functions. To format comments properly in lists usages of 'enclosedList' were replaced with listWComments.
- trait SourcePrettyPrinter extends base.source.SourcePrettyPrinter with Keywords with Rql2TypeUtils with ParenPrettyPrinter
- final case class StringConst(value: String) extends Const with Product with Serializable
- final case class Sub() extends BinaryOp with Product with Serializable
- final case class TripleQuotedStringConst(value: String) extends Const with Product with Serializable
-
final
case class
TypeAliasType(idn: IdnUse) extends Rql2Type with Product with Serializable
Type Alias.
-
final
case class
TypeExp(t: Type) extends Rql2Exp with Product with Serializable
Type Expression
-
final
case class
UnaryExp(unaryOp: UnaryOp, exp: Exp) extends Rql2Exp with PrettyUnaryExpression with Product with Serializable
Unary Operators
- sealed abstract class UnaryOp extends Rql2Node
Value Members
- object InternalSourcePrettyPrinter extends SourcePrettyPrinter
- object Rql2OrType extends Serializable
- object Rql2Program extends Serializable
- object SourcePrettyPrinter extends SourcePrettyPrinter