org
.
opencypher
.
v9_1
.
ast
.
semantics
SemanticAnalysisTooling
Related Doc:
package semantics
trait
SemanticAnalysisTooling
extends
AnyRef
This class holds methods for performing semantic analysis.
Linear Supertypes
AnyRef
,
Any
Known Subclasses
ASTSlicingPhrase
,
AllNodes
,
AllRelationships
,
CatalogDDL
,
Clone
,
CompositePropertyConstraintCommand
,
ConstructGraph
,
Create
,
CreateGraph
,
CreateNodeKeyConstraint
,
CreateNodePropertyExistenceConstraint
,
CreateRelationshipPropertyExistenceConstraint
,
CreateUnique
,
CreateUniquePropertyConstraint
,
Delete
,
DeleteGraph
,
DiscardCardinality
,
DropNodeKeyConstraint
,
DropNodePropertyExistenceConstraint
,
DropRelationshipPropertyExistenceConstraint
,
DropUniquePropertyConstraint
,
ExplicitIndexHint
,
Foreach
,
FromGraph
,
Hint
,
HorizonClause
,
Limit
,
LoadCSV
,
Match
,
Merge
,
MultipleGraphClause
,
New
,
NodeByIdentifiedIndex
,
NodeByIds
,
NodeByIndexQuery
,
NodeByParameter
,
NodeKeyConstraintCommand
,
NodePropertyConstraintCommand
,
NodeStartItem
,
PragmaWithout
,
ProcedureResultItem
,
ProjectionClause
,
PropertyConstraintCommand
,
Query
,
RelationshipByIdentifiedIndex
,
RelationshipByIds
,
RelationshipByIndexQuery
,
RelationshipByParameter
,
RelationshipPropertyConstraintCommand
,
RelationshipStartItem
,
Remove
,
Return
,
ReturnGraph
,
ReturnItems
,
ReturnItemsDef
,
SemanticExpressionCheck
,
SemanticFunctionCheck
,
SemanticPatternCheck
,
SetClause
,
SetExactPropertiesFromMapItem
,
SetIncludingPropertiesFromMapItem
,
SetProperty
,
SetPropertyItem
,
Skip
,
StartItem
,
Union
,
UnionAll
,
UnionDistinct
,
UniquePropertyConstraintCommand
,
Unwind
,
UpdateClause
,
UsingHint
,
UsingIndexHint
,
UsingJoinHint
,
UsingScanHint
,
With
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
@throws
(
...
)
def
declareVariable
(
v:
LogicalVariable
,
typeGen:
TypeGenerator
,
positions:
Set
[
InputPosition
] =
Set.empty
)
: (
SemanticState
) ⇒
Either
[
SemanticError
,
SemanticState
]
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
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
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
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
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
@throws
(
...
)
def
when
(
condition:
Boolean
)
(
check: ⇒
SemanticCheck
)
:
SemanticCheck
def
withScopedState
(
check: ⇒
SemanticCheck
)
:
SemanticCheck
Inherited from
AnyRef
Inherited from
Any
Ungrouped
This class holds methods for performing semantic analysis.