Package org.partiql.lang.domains

Functions

Link copied to clipboard
fun PropertyValueMap.addSourceLocation(metas: MetaContainer): PropertyValueMap

Adds Property.LINE_NUMBER and Property.COLUMN_NUMBER to the PropertyValueMap if the SourceLocationMeta.TAG is present in the passed metas. Otherwise, returns the unchanged PropertyValueMap.

Link copied to clipboard
fun PartiqlAst.PartiqlAstNode.extractSourceLocation(): MetaContainer

Returns a MetaContainer with only the source location of the receiver MetaContainer, if present.

Link copied to clipboard
fun PartiqlAst.Builder.id(name: String): PartiqlAst.Expr.Id
fun PartiqlLogical.Builder.id(name: String): PartiqlLogical.Expr.Id
Link copied to clipboard
fun metaContainerOf(vararg metas: Meta): MetaContainer

Constructs a container with the specified metas.

Link copied to clipboard
fun PartiqlLogical.Builder.pathExpr(exp: PartiqlLogical.Expr): PartiqlLogical.PathStep.PathExpr
Link copied to clipboard
fun PartiqlAst.CaseSensitivity.toBindingCase(): BindingCase

Converts a PartiqlAst.CaseSensitivity to a BindingCase.

fun PartiqlLogical.CaseSensitivity.toBindingCase(): BindingCase
fun PartiqlPhysical.CaseSensitivity.toBindingCase(): BindingCase

Converts a PartiqlLogical.CaseSensitivity to a BindingCase.

Properties

Link copied to clipboard
val MetaContainer.staticType: StaticTypeMeta?