return get_type_by_name(once ("String".to_symbol))
end
- # The primitive type Collection[nullable Object]
- fun type_collection: MMType
- do
- return get_instantiated_type_by_name(once ("Collection".to_symbol), [type_object.as_nullable])
- end
-
# The primitive type NativeString
fun type_nativestring: MMType
do
# Display an error for a given syntax node
fun error(n: nullable ANode, s: String)
do
- _tc.error(if n == null then null else n.location, s)
+ _tc.error(if n == null then null else n.hot_location, s)
end
# Add an error, show errors and quit
fun fatal_error(n: nullable ANode, s: String)
do
- _tc.fatal_error(if n == null then null else n.location, s)
+ _tc.fatal_error(if n == null then null else n.hot_location, s)
end
# Display a warning for a given syntax node
fun warning(n: nullable ANode, s: String)
do
- _tc.warning(if n == null then null else n.location, s)
+ _tc.warning(if n == null then null else n.hot_location, s)
end
# Check conformity and display error
redef class AForExpr
# Associated automatic local variable
- fun variable: AutoVariable is abstract
+ fun variables: Array[AutoVariable] is abstract
end
redef class ASelfExpr