class SWIPL::ForeignControl

Public Class Methods

new( state ) click to toggle source
# File lib/swipl.rb, line 81
def initialize( state )
        @state = state
end

Public Instance Methods

context() click to toggle source
# File lib/swipl.rb, line 85
def context; @context ; end
context=( value ) click to toggle source
# File lib/swipl.rb, line 86
def context=( value ); @context = value ; end
first_call?() click to toggle source
# File lib/swipl.rb, line 87
def first_call?; @state == PL_FIRST_CALL; end
pruning?() click to toggle source
# File lib/swipl.rb, line 88
def pruning?; @state == PL_PRUNED; end
redo?() click to toggle source
# File lib/swipl.rb, line 89
def redo?; @state == PL_REDO; end