Class: Rserve::Engine
- Inherits:
-
Object
- Object
- Rserve::Engine
- Defined in:
- lib/rserve/engine.rb
Direct Known Subclasses
Instance Method Summary collapse
- #assign(symbol, value, env = nil) ⇒ Object
- #close ⇒ Object
- #create_reference(value) ⇒ Object
- #evaluate(what, where, resolve) ⇒ Object
- #finalize_reference(ref) ⇒ Object
- #get(symbol, env, resolve) ⇒ Object
- #get_parent_enviroment(env, resolve) ⇒ Object
- #lock ⇒ Object
- #new_enviroment(parent, resolve) ⇒ Object
- #parse(text, resolve) ⇒ Object
- #parse_and_eval(text, where = nil, resolve = true) ⇒ Object
- #resolve_reference(ref) ⇒ Object
- #supports_enviroments? ⇒ Boolean
- #supports_references? ⇒ Boolean
- #supports_REPL? ⇒ Boolean
- #suuports_locking? ⇒ Boolean
- #try_lock ⇒ Object
- #unlock ⇒ Object
Instance Method Details
#assign(symbol, value, env = nil) ⇒ Object
5 |
# File 'lib/rserve/engine.rb', line 5 def assign(symbol, value, env=nil);end |
#close ⇒ Object
16 17 18 |
# File 'lib/rserve/engine.rb', line 16 def close; false end |
#create_reference(value) ⇒ Object
8 |
# File 'lib/rserve/engine.rb', line 8 def create_reference(value);end |
#evaluate(what, where, resolve) ⇒ Object
4 |
# File 'lib/rserve/engine.rb', line 4 def evaluate(what, where, resolve); end |
#finalize_reference(ref) ⇒ Object
9 |
# File 'lib/rserve/engine.rb', line 9 def finalize_reference(ref);end |
#get(symbol, env, resolve) ⇒ Object
6 |
# File 'lib/rserve/engine.rb', line 6 def get(symbol, env, resolve);end |
#get_parent_enviroment(env, resolve) ⇒ Object
10 |
# File 'lib/rserve/engine.rb', line 10 def get_parent_enviroment(env,resolve);end |
#lock ⇒ Object
34 35 36 |
# File 'lib/rserve/engine.rb', line 34 def lock 0 end |
#new_enviroment(parent, resolve) ⇒ Object
11 |
# File 'lib/rserve/engine.rb', line 11 def new_enviroment(parent,resolve);end |
#parse(text, resolve) ⇒ Object
3 |
# File 'lib/rserve/engine.rb', line 3 def parse(text,resolve);end |
#parse_and_eval(text, where = nil, resolve = true) ⇒ Object
12 13 14 15 |
# File 'lib/rserve/engine.rb', line 12 def parse_and_eval(text,where=nil,resolve=true) p=parse(text,false) evaluate(p,where,resolve) end |
#resolve_reference(ref) ⇒ Object
7 |
# File 'lib/rserve/engine.rb', line 7 def resolve_reference(ref);end |
#supports_enviroments? ⇒ Boolean
22 23 24 |
# File 'lib/rserve/engine.rb', line 22 def supports_enviroments? false end |
#supports_references? ⇒ Boolean
19 20 21 |
# File 'lib/rserve/engine.rb', line 19 def supports_references? false end |
#supports_REPL? ⇒ Boolean
25 26 27 |
# File 'lib/rserve/engine.rb', line 25 def supports_REPL? false end |
#suuports_locking? ⇒ Boolean
28 29 30 |
# File 'lib/rserve/engine.rb', line 28 def suuports_locking? false end |
#try_lock ⇒ Object
31 32 33 |
# File 'lib/rserve/engine.rb', line 31 def try_lock 0 end |
#unlock ⇒ Object
37 |
# File 'lib/rserve/engine.rb', line 37 def unlock;end |