Top Level Namespace

Defined Under Namespace

Modules: Base64, Builder, Kernel, Log, Type Classes: Array32, Array64, DAta, Global, Header, I32, I64, IO, Integer, Malloc, Memory, Object, RString, Rlang, RlangSyntaxError, String, Tempfile, Unistd, WASI, WType

Constant Summary collapse

RLANG_BASE_DIR =

Set up path to this file

File.expand_path(File.dirname(__FILE__))
STDIN =
IO.new
STDOUT =
IO.new
STDERR =
IO.new
ARGC =
0
ARGV =
0.cast_to(:Array32)
ENV =
0.cast_to(:Array32)

Instance Method Summary collapse

Instance Method Details

#rlse(node, msg) ⇒ Object

Raises:



9
10
11
12
# File 'lib/utils/exceptions.rb', line 9

def rlse(node, msg)
  msg += "\nline #{node.location.line}: #{node.location.expression.source}"
  raise  RlangSyntaxError, msg, []
end