org
.
opencypher
.
v9_1
.
ast
.
semantics
SemanticState
Related Docs:
object SemanticState
|
package semantics
case class
SemanticState
(
currentScope:
ScopeLocation
,
typeTable:
ASTAnnotationMap
[
Expression
,
ExpressionTypeInfo
]
,
recordedScopes:
ASTAnnotationMap
[
ASTNode
,
Scope
]
,
notifications:
Set
[
InternalNotification
] =
Set.empty
,
features:
Set
[
SemanticFeature
] =
Set.empty
,
initialWith:
Boolean
=
false
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SemanticState
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
SemanticState
(
currentScope:
ScopeLocation
,
typeTable:
ASTAnnotationMap
[
Expression
,
ExpressionTypeInfo
]
,
recordedScopes:
ASTAnnotationMap
[
ASTNode
,
Scope
]
,
notifications:
Set
[
InternalNotification
] =
Set.empty
,
features:
Set
[
SemanticFeature
] =
Set.empty
,
initialWith:
Boolean
=
false
)
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
def
addNotification
(
notification:
InternalNotification
)
:
SemanticState
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clearInitialWith
:
SemanticState
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
currentScope
:
ScopeLocation
def
declareVariable
(
variable:
LogicalVariable
,
possibleTypes:
TypeSpec
,
positions:
Set
[
InputPosition
] =
Set.empty
)
:
Either
[
SemanticError
,
SemanticState
]
def
ensureVariableDefined
(
variable:
LogicalVariable
)
:
Either
[
SemanticError
,
SemanticState
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
expectType
(
expression:
Expression
,
possibleTypes:
TypeSpec
)
: (
SemanticState
,
TypeSpec
)
def
expressionType
(
expression:
Expression
)
:
ExpressionTypeInfo
val
features
:
Set
[
SemanticFeature
]
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
implicitVariable
(
variable:
LogicalVariable
,
possibleTypes:
TypeSpec
)
:
Either
[
SemanticError
,
SemanticState
]
def
importValuesFromScope
(
scope:
Scope
,
exclude:
Set
[
String
] =
Set.empty
)
:
SemanticState
val
initialWith
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mergeSymbolPositionsFromScope
(
scope:
Scope
,
exclude:
Set
[
String
] =
Set.empty
)
:
SemanticState
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newChildScope
:
SemanticState
def
newSiblingScope
:
SemanticState
val
notifications
:
Set
[
InternalNotification
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
popScope
:
SemanticState
def
recogniseInitialWith
:
SemanticState
def
recordCurrentScope
(
astNode:
ASTNode
)
:
SemanticState
val
recordedScopes
:
ASTAnnotationMap
[
ASTNode
,
Scope
]
def
scope
(
astNode:
ASTNode
)
:
Option
[
Scope
]
def
scopeTree
:
Scope
def
specifyType
(
expression:
Expression
,
possibleTypes:
TypeSpec
)
:
Either
[
SemanticError
,
SemanticState
]
def
symbol
(
name:
String
)
:
Option
[
Symbol
]
def
symbolTypes
(
name:
String
)
:
TypeSpec
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
typeTable
:
ASTAnnotationMap
[
Expression
,
ExpressionTypeInfo
]
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
withFeature
(
feature:
SemanticFeature
)
:
SemanticState
def
withFeatures
(
features:
SemanticFeature
*
)
:
SemanticState
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped