trait SemanticAnalysisTooling extends AnyRef
This class holds methods for performing semantic analysis.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SemanticAnalysisTooling
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkTypes(expression: Expression, signatures: Seq[TypeSignature]): SemanticCheck
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
declareVariable(v: LogicalVariable, typeGen: TypeGenerator, positions: Set[InputPosition] = Set.empty, overriding: Boolean = false): (SemanticState) ⇒ Either[SemanticError, SemanticState]
- overriding
if
truethen a previous occurrence of that variable is overridden. iffalsethen a previous occurrence of that variable leads to an error
- def declareVariable(v: LogicalVariable, possibleTypes: TypeSpec): (SemanticState) ⇒ Either[SemanticError, SemanticState]
- def ensureDefined(v: LogicalVariable): (SemanticState) ⇒ Either[SemanticError, SemanticState]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def error(msg: String, position: InputPosition)(state: SemanticState): SemanticCheckResult
- def expectType(possibleTypes: ⇒ TypeSpec, expression: Expression, messageGen: (String, String) ⇒ String = DefaultTypeMismatchMessageGenerator): SemanticCheck
- def expectType(possibleTypes: ⇒ TypeSpec)(ctx: SemanticContext, expr: Expression): SemanticCheck
- def expectType[Exp <: Expression](possibleTypes: TypeSpec, expressions: Traversable[Exp]): SemanticCheck
- def expectType(typeGen: TypeGenerator, expression: Expression, messageGen: (String, String) ⇒ String): SemanticCheck
- def expectType(possibleTypes: TypeSpec, opt: Option[Expression]): SemanticCheck
- def expectType(typeGen: TypeGenerator, expression: Expression): SemanticCheck
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def implicitVariable(v: LogicalVariable, possibleType: CypherType): (SemanticState) ⇒ Either[SemanticError, SemanticState]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def leastUpperBoundsOfTypes(traversable: TraversableOnce[Expression]): TypeGenerator
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val popStateScope: SemanticCheck
- def possibleTypes(expression: Expression): TypeGenerator
- val pushStateScope: SemanticCheck
- def requireCypher10Support(msg: String, position: InputPosition): SemanticCheck
- def requireMultigraphSupport(msg: String, position: InputPosition): SemanticCheck
- def semanticCheck[A <: SemanticCheckable](traversable: TraversableOnce[A]): SemanticCheck
- def semanticCheckFold[A](traversable: Traversable[A])(f: (A) ⇒ SemanticCheck): SemanticCheck
- def specifyType(possibleTypes: ⇒ TypeSpec, expression: Expression): (SemanticState) ⇒ Either[SemanticError, SemanticState]
- def specifyType(typeGen: TypeGenerator, expression: Expression): (SemanticState) ⇒ Either[SemanticError, SemanticState]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def typeSwitch(expr: Expression)(choice: (TypeSpec) ⇒ SemanticCheck): SemanticCheck
- def types(expression: Expression): TypeGenerator
- def unionOfTypes(traversable: TraversableOnce[Expression]): TypeGenerator
- def unless(condition: Boolean)(check: ⇒ SemanticCheck): SemanticCheck
- def validNumber(double: DoubleLiteral): Boolean
- def validNumber(long: IntegerLiteral): Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def when(condition: Boolean)(check: ⇒ SemanticCheck): SemanticCheck
- def withScopedState(check: ⇒ SemanticCheck): SemanticCheck