class RLTK::CG::ConstantExpr

This class represents a wide range of values returned by various operations.

Public Class Methods

new(ptr) click to toggle source

Constant expressions can only be instantiated from a pointer, and should never be instantiated by library users.

@param [FFI::Pointer] ptr

# File lib/rltk/cg/value.rb, line 349
def initialize(ptr)
        @ptr = check_type(ptr, FFI::Pointer, 'ptr')
end