struct Novika::FFI::ValueTypeParser
- Novika::FFI::ValueTypeParser
- Novika::FFI::TypeParser
- Struct
- Value
- Object
Overview
Same as DefaultTypeParser
, but forbids nothing.
# this : Block
parser = ValueTypeParser.new(this, Word.new("i32"))
parser.parse # => I32
# ...
parser = ValueTypeParser.new(this, Word.new("nothing"))
parser.parse # Dies: nothing is not a value type.