Uses of Class
orc.runtime.values.Value

Packages that use Value
orc Top-level package for all Orc code. 
orc.ast.simple.arg   
orc.lib.bool   
orc.lib.comp   
orc.lib.math   
orc.lib.music_calendar   
orc.lib.net Sites for internet communication. 
orc.lib.orchard   
orc.lib.state   
orc.lib.str   
orc.lib.time   
orc.lib.util   
orc.runtime Runtime for Orc interpreter. 
orc.runtime.nodes.result These nodes make up the leaves of the DAG. 
orc.runtime.sites Abstract base classes for Orc sites plus fundamental sites. 
orc.runtime.sites.core Fundamental sites. 
orc.runtime.sites.java Wrappers which enable using Java objects and classes as Orc sites. 
orc.runtime.values   
 

Uses of Value in orc
 

Methods in orc that return types with arguments of type Value
 java.util.concurrent.BlockingQueue<Value> OrcInstance.pubs()
           
 

Constructor parameters in orc with type arguments of type Value
OrcInstance(OrcEngine engine, Node root, Env env, java.util.concurrent.BlockingQueue<Value> q)
           
 

Uses of Value in orc.ast.simple.arg
 

Methods in orc.ast.simple.arg that return Value
 Value Var.asValue()
           
 

Uses of Value in orc.lib.bool
 

Subclasses of Value in orc.lib.bool
 class And
           
 class BoolBinopSite
           
 class Or
           
 

Methods in orc.lib.bool that return Value
 Value BoolBinopSite.evaluate(Args args)
           
 

Uses of Value in orc.lib.comp
 

Subclasses of Value in orc.lib.comp
 class Greater
           
 class Greq
           
 class Leq
           
 class Less
           
 class NumericComparisonSite
           
 

Methods in orc.lib.comp that return Value
 Value NumericComparisonSite.evaluate(Args args)
           
 

Uses of Value in orc.lib.math
 

Subclasses of Value in orc.lib.math
 class Add
          NB: this is overloaded to operate on strings, with implicit toString coercion (like Java).
 class Div
           
 class Mod
           
 class Mult
           
 class Sub
           
 class UMinus
           
 

Methods in orc.lib.math that return Value
 Value Add.evaluate(Args args)
           
 Value UMinus.evaluate(Args args)
           
 Value Mult.evaluate(Args args)
           
 Value Mod.evaluate(Args args)
           
 Value Div.evaluate(Args args)
           
 Value Sub.evaluate(Args args)
           
 

Uses of Value in orc.lib.music_calendar
 

Subclasses of Value in orc.lib.music_calendar
 class GoogleCalendar
           
 class GoogleSearch
          A hack to work around the fact that dynamic web service loading doesn't yet work in servlets.
 class MySpace
           
 

Uses of Value in orc.lib.net
 

Subclasses of Value in orc.lib.net
 class CxfWebservice
          SOAP (WSDL) webservice site.
 class Localhost
           
 class Mail
          Wrapper around JavaMail API for reading and sending mail.
static class Mail.MailFilter
          Filter for a MailFolder.
static class Mail.MailFolder
          Folder containing messages or subfolders.
static class Mail.MailMessage
          Message being composed or viewed from a store.
static class Mail.MailStore
          Mailbox.
static class Mail.MailTransport
          Outgoing transport (SMTP).
 class Webservice
          JAX-RPC-based webservice site.
 class XMPPConnection
          Orc support for the XMPP (Jabber, Google Talk) messaging protocol.
 

Methods in orc.lib.net that return Value
 Value Localhost.evaluate(Args args)
           
 Value XMPPConnection.evaluate(Args args)
           
 Value CxfWebservice.evaluate(Args args)
           
 Value Webservice.evaluate(Args args)
           
 

Uses of Value in orc.lib.orchard
 

Subclasses of Value in orc.lib.orchard
 class Prompt
          Ask the user a question and return their response.
 

Uses of Value in orc.lib.state
 

Subclasses of Value in orc.lib.state
 class Buffer
           
protected  class Buffer.BufferInstance
           
 class Cell
           
protected  class Cell.CellInstance
           
 class Ref
           
protected  class Ref.RefInstance
           
 class SyncChannel
           
protected  class SyncChannel.SyncChannelInstance
           
 

Methods in orc.lib.state that return Value
 Value Ref.evaluate(Args args)
           
 Value Cell.evaluate(Args args)
           
 Value SyncChannel.evaluate(Args args)
           
 Value Buffer.evaluate(Args args)
           
 

Uses of Value in orc.lib.str
 

Subclasses of Value in orc.lib.str
 class AtoB
           
 class AtoI
           
 class Cat
          Note that you can also use the syntax "a" + "b" for string concatenation.
 class Print
           
 class Println
           
 

Methods in orc.lib.str that return Value
 Value Cat.evaluate(Args args)
           
 Value AtoI.evaluate(Args args)
           
 Value AtoB.evaluate(Args args)
           
 

Uses of Value in orc.lib.time
 

Subclasses of Value in orc.lib.time
 class MakeTimer
          Site interface to the Orc engine's logical clock.
 class Rtimer
          Implements the RTimer site
 

Uses of Value in orc.lib.util
 

Subclasses of Value in orc.lib.util
 class Random
           
 class Thread
          Wrap a site call in a thread.
 class UUID
          Generate random UUIDs.
 

Methods in orc.lib.util that return Value
 Value Random.evaluate(Args args)
           
 Value UUID.evaluate(Args args)
           
 Value Thread.evaluate(Args args)
           
 

Uses of Value in orc.runtime
 

Methods in orc.runtime that return Value
 Value Token.arg(Arg a)
           
 Value Args.condense()
          Classic 'let' functionality.
 Value Token.getResult()
           
 Value Args.valArg(int n)
          Helper function to retrieve the nth value (starting from 0), with error checking
 

Methods in orc.runtime with parameters of type Value
 void Token.activate(Value v)
           
 void OrcEngine.pub(Value v)
          Publish a result.
 void Token.resume(Value v)
           
 void Continuation.resume(Value value)
          Return a value from a site call.
 Token Token.setResult(Value result)
           
 

Constructors in orc.runtime with parameters of type Value
Token(Node node, Env<Future> env, Token caller, GroupCell group, Region region, Value result, OrcEngine engine)
           
 

Constructor parameters in orc.runtime with type arguments of type Value
Args(java.util.List<Value> values)
           
 

Uses of Value in orc.runtime.nodes.result
 

Methods in orc.runtime.nodes.result with parameters of type Value
 void QueueResult.emit(Value v)
           
 void PrintResult.emit(Value v)
           
abstract  void Result.emit(Value v)
           
 void WriteResult.emit(Value v)
           
 

Constructor parameters in orc.runtime.nodes.result with type arguments of type Value
QueueResult(java.util.concurrent.BlockingQueue<Value> q)
           
 

Uses of Value in orc.runtime.sites
 

Subclasses of Value in orc.runtime.sites
 class DotSite
           
 class EvalSite
          Abstract class for sites with a total and immediate semantics: evaluate the arguments and return a value without blocking and without affecting the Orc engine.
 class PartialSite
          Abstract class for sites with a partial and immediate semantics: evaluate as for a total immediate site (see EvalSite), but if the evaluation returns null, the site remains silent.
 class SimpleSite
          Simple sites which don't need access to tokens.
 class Site
          Base class for all sites
 class ThreadedSite
          Abstract class for sites whose calls may block (the Java thread).
 class VariantSite
           
 

Methods in orc.runtime.sites that return Value
 Value VariantSite.evaluate(Args args)
           
abstract  Value SimpleSite.evaluate(Args args)
          If this method calls Continuation.suspend(), its return value will be ignored and the engine will expect the method to resume or kill the continuation when ready.
abstract  Value PartialSite.evaluate(Args args)
           
abstract  Value ThreadedSite.evaluate(Args args)
           
abstract  Value EvalSite.evaluate(Args args)
           
 Value DotSite.evaluate(Args args)
           
 

Methods in orc.runtime.sites with parameters of type Value
protected  void DotSite.addMethod(java.lang.String f, Value s)
           
 

Uses of Value in orc.runtime.sites.core
 

Subclasses of Value in orc.runtime.sites.core
 class Cons
          Implements the "cons" constructor site.
 class Equal
           
 class Head
           
 class If
           
 class Inequal
           
 class IsCons
           
 class IsNil
           
 class IsNone
           
 class IsSome
           
 class Let
          Implements the built-in "let" site
 class Nil
          Implements the "cons" constructor site.
 class None
          Implements the "none" option constructor site.
 class Not
           
 class Some
          Implements the "some" option constructor site.
 class Tail
           
 

Methods in orc.runtime.sites.core that return Value
 Value IsNil.evaluate(Args args)
           
 Value Some.evaluate(Args args)
           
 Value Tail.evaluate(Args args)
           
 Value If.evaluate(Args args)
           
 Value Nil.evaluate(Args args)
           
 Value Cons.evaluate(Args args)
           
 Value Inequal.evaluate(Args args)
           
 Value IsCons.evaluate(Args args)
           
 Value Not.evaluate(Args args)
           
 Value Equal.evaluate(Args args)
           
 Value None.evaluate(Args args)
           
 Value Head.evaluate(Args args)
           
 

Uses of Value in orc.runtime.sites.java
 

Subclasses of Value in orc.runtime.sites.java
 class ClassProxy
           
 class MethodProxy
          This extends SimpleSite so that methods can use orc.runtime.Continuation to take advantage of Orc's cooperative threading, if desired.
 class ObjectProxy
          A Java object being used as an Orc Site.
 class ThreadedObjectProxy
           
 

Methods in orc.runtime.sites.java that return Value
 Value ThreadedObjectProxy.evaluate(Args args)
           
 Value ObjectProxy.evaluate(Args args)
           
 Value MethodProxy.evaluate(Args args)
           
 Value ClassProxy.evaluate(Args args)
           
 

Uses of Value in orc.runtime.values
 

Subclasses of Value in orc.runtime.values
 class Closure
          Represents a standard closure: a function defined in an environment.
 class Constant
          A value container for an arbitrary Java object, which includes Orc literal atomic values.
 class ConsValue
           
 class Field
          Allow field names to be distinguished from strings when appropriate.
 class ListValue
          Common ancestor for ConsValue and NilValue.
 class NilValue
           
 class NoneValue
           
 class OptionValue
           
 class SomeValue
           
 class TupleValue
          A tuple value container
 

Fields in orc.runtime.values declared as Value
 Value SomeValue.content
           
 

Methods in orc.runtime.values that return Value
 Value TupleValue.at(int i)
           
 Value TupleValue.evaluate(Args args)
           
 Value Future.forceArg(Token t)
           
 Value PartialValue.forceArg(Token t)
           
 Value Value.forceArg(Token t)
           
 Value GroupCell.forceArg(Token t)
           
 Value Constant.head()
           
 Value Value.head()
          Return the head value of a cons-like data structure.
 Value ConsValue.head()
           
static Value Value.signal()
          Static function to access the canonical 'signal' value Currently, the signal value is an empty tuple
 Value Constant.tail()
           
 Value Value.tail()
          Return the tail value of a cons-like data structure.
 Value Value.untag()
          Return the contained value v of an option some(v).
 Value SomeValue.untag()
           
 

Methods in orc.runtime.values that return types with arguments of type Value
 java.util.List<Value> TupleValue.asList()
           
 java.util.List<Value> NilValue.enlist()
           
abstract  java.util.List<Value> ListValue.enlist()
           
 java.util.List<Value> ConsValue.enlist()
           
 java.util.Iterator<Value> TupleValue.iterator()
           
 

Methods in orc.runtime.values with parameters of type Value
 void GroupCell.setValue(Value value)
          This call defines the fundamental behavior of groups: When the value is bound, all subgroups are killed and all waiting tokens are activated.
 

Method parameters in orc.runtime.values with type arguments of type Value
static ListValue ListValue.make(java.util.List<Value> vs)
           
 

Constructors in orc.runtime.values with parameters of type Value
ConsValue(Value h, ListValue t)
           
PartialValue(Value v, java.util.Set<Future> freeset)
           
SomeValue(Value content)
           
TupleValue(Value v)
           
TupleValue(Value[] values)
           
TupleValue(Value v, Value w)
           
 

Constructor parameters in orc.runtime.values with type arguments of type Value
TupleValue(java.util.List<Value> values)