nitc :: StaticFrame
AbstractCompilerVisitor
nitc :: StaticFrame :: VISITOR
nitc :: StaticFrame :: _arguments
Arguments of the method (the first is the receiver)nitc :: StaticFrame :: _comprehension
The array comprehension currently filled, if anynitc :: StaticFrame :: _escapemark_names
Labels associated to a each escapemarks.nitc :: StaticFrame :: _returnlabel
The label at the end of the propertynitc :: StaticFrame :: _returnvar
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: arguments
Arguments of the method (the first is the receiver)nitc :: StaticFrame :: arguments=
Arguments of the method (the first is the receiver)nitc :: StaticFrame :: comprehension
The array comprehension currently filled, if anynitc :: StaticFrame :: comprehension=
The array comprehension currently filled, if anynitc :: StaticFrame :: defaultinit
nitc :: StaticFrame :: escapemark_names
Labels associated to a each escapemarks.nitc :: StaticFrame :: escapemark_names=
Labels associated to a each escapemarks.nitc :: StaticFrame :: receiver=
The static type of the receivernitc :: StaticFrame :: returnlabel
The label at the end of the propertynitc :: StaticFrame :: returnlabel=
The label at the end of the propertynitc :: StaticFrame :: returnvar
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: returnvar=
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: selfvar
Returns the first argument (the receiver) of a frame.nitc $ StaticFrame :: SELF
Type of this instance, automatically specialized in every classnitc :: StaticFrame :: VISITOR
nitc :: StaticFrame :: _arguments
Arguments of the method (the first is the receiver)nitc :: StaticFrame :: _comprehension
The array comprehension currently filled, if anynitc :: StaticFrame :: _escapemark_names
Labels associated to a each escapemarks.nitc :: StaticFrame :: _returnlabel
The label at the end of the propertynitc :: StaticFrame :: _returnvar
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: arguments
Arguments of the method (the first is the receiver)nitc :: StaticFrame :: arguments=
Arguments of the method (the first is the receiver)core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: StaticFrame :: comprehension
The array comprehension currently filled, if anynitc :: StaticFrame :: comprehension=
The array comprehension currently filled, if anycore :: Object :: defaultinit
nitc :: StaticFrame :: defaultinit
nitc :: StaticFrame :: escapemark_names
Labels associated to a each escapemarks.nitc :: StaticFrame :: escapemark_names=
Labels associated to a each escapemarks.core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: StaticFrame :: receiver=
The static type of the receivernitc :: StaticFrame :: returnlabel
The label at the end of the propertynitc :: StaticFrame :: returnlabel=
The label at the end of the propertynitc :: StaticFrame :: returnvar
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: returnvar=
The runtime_variable associated to the return (in a function)nitc :: StaticFrame :: selfvar
Returns the first argument (the receiver) of a frame.
# The static context of a visited property in a `AbstractCompilerVisitor`
class StaticFrame
type VISITOR: AbstractCompilerVisitor
# The associated visitor
var visitor: VISITOR
# The executed property.
# A Method in case of a call, an attribute in case of a default initialization.
var mpropdef: MPropDef
# The static type of the receiver
var receiver: MClassType
# Arguments of the method (the first is the receiver)
var arguments: Array[RuntimeVariable]
# The runtime_variable associated to the return (in a function)
var returnvar: nullable RuntimeVariable = null is writable
# The label at the end of the property
var returnlabel: nullable String = null is writable
# Labels associated to a each escapemarks.
# Because of inlinings, escape-marks must be associated to their context (the frame)
private var escapemark_names = new HashMap[EscapeMark, String]
# The array comprehension currently filled, if any
private var comprehension: nullable RuntimeVariable = null
# Returns the first argument (the receiver) of a frame.
# REQUIRE: arguments.length >= 1
fun selfvar: RuntimeVariable
do
assert arguments.length >= 1
return arguments.first
end
end
src/compiler/abstract_compiler.nit:2393,1--2431,3