Uses of Class
unsw.cse.framescript.StackFrame

Uses of StackFrame in unsw.cse.framescript
 

Methods in unsw.cse.framescript with parameters of type StackFrame
abstract  Term Subr.apply(Instance currentObject, Term[] args, StackFrame frame)
          This is the method that needs to be implemented for each subroutine.
 Term Expr.apply(Instance currentObject, Term[] args, StackFrame stackframe)
           
 Term Atom.apply(Instance currentObject, Term[] args, StackFrame frame)
          Used to lookup the subroutine/function defined with the name.
 Term Compound.assign(Instance currentObject, Term arg, StackFrame frame)
           
 Term FSList.assign(Instance currentObject, Term arg, StackFrame stackframe)
           
 Term Term.assign(Instance currentObject, Term arg, StackFrame frame)
          Assigns a value to a Term.
 Term Atom.assign(Instance currentObject, Term arg, StackFrame stackframe)
           
 Term Variable.assign(Instance currentObject, Term arg, StackFrame stackframe)
           
protected  Alternatives Subr.check_alternatives(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check alternatives arguments for built-in functions.
static Alternatives Utils.check_alternatives(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check alternatives arguments for built-in functions.
protected  Atom Subr.check_atom(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check atom arguments for built-in functions.
static Atom Utils.check_atom(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check atom arguments for built-in functions.
protected  Atom Subr.check_boolean(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check boolean arguments for built-in functions.
static Atom Utils.check_boolean(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check boolean arguments for built-in functions.
protected  Compound Subr.check_compound(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check compound arguments for built-in functions.
static Compound Utils.check_compound(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check compound arguments for built-in functions.
protected  Domain Subr.check_domain(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check domain arguments for built-in functions.
static Domain Utils.check_domain(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check domain arguments for built-in functions.
protected  ExprList Subr.check_exprlist(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check expression list arguments for built-in functions.
static ExprList Utils.check_exprlist(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check expression list arguments for built-in functions.
protected  Frame Subr.check_frame(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check frame arguments for built-in functions.
static Frame Utils.check_frame(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check frame arguments for built-in functions.
protected  Generic Subr.check_generic(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check generic frame arguments for built-in functions.
static Generic Utils.check_generic(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check generic frame arguments for built-in functions.
protected  Instance Subr.check_instance(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check instance frame arguments for built-in functions.
static Instance Utils.check_instance(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check instance frame arguments for built-in functions.
protected  FSInteger Subr.check_integer(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check integer arguments for built-in functions.
static FSInteger Utils.check_integer(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check integer arguments for built-in functions.
protected  FSList Subr.check_list(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check list arguments for built-in functions.
static FSList Utils.check_list(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check list arguments for built-in functions.
static MicaBot MicaBot.check_micabot(Atom functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check micabot arguments for built-in functions.
static Instance MicaBot.check_mob(Atom functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check mob arguments for built-in functions.
protected  FSNumber Subr.check_number(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check numerical arguments for built-in functions.
static FSNumber Utils.check_number(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check numerical arguments for built-in functions.
protected  Pattern Subr.check_pattern(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check pattern arguments for built-in functions.
static Pattern Utils.check_pattern(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check pattern arguments for built-in functions.
protected  RDR Subr.check_rdr(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check RDR arguments for built-in functions.
static RDR Utils.check_rdr(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check rdr arguments for built-in functions.
protected  Script Subr.check_script(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check script arguments for built-in functions.
static Script Utils.check_script(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check script arguments for built-in functions.
protected  Sequence Subr.check_sequence(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check sequence arguments for built-in functions.
static Sequence Utils.check_sequence(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check sequence arguments for built-in functions.
protected  FSString Subr.check_string(Instance currentObject, Term[] args, int n, StackFrame frame)
          Convenience routine to check string arguments for built-in functions.
static FSString Utils.check_string(java.lang.String functionName, Instance currentObject, Term[] arg, int n, StackFrame frame)
          Convenience routine to check string arguments for built-in functions.
 Term Compound.eval(Instance currentObject, StackFrame frame)
          Evalutes the function call.
 Term ExprList.eval(Instance currentObject, StackFrame stackframe)
          Evaluates all of the expressions in the list and returns the result of evaluating the last element.
 Term Subr.eval(Instance currentObject, StackFrame stackframe)
           
 Term Alternatives.eval(Instance currentObject, StackFrame stackframe)
          Evaluates the Alternates.
 Term Sequence.eval(Instance currentObject, StackFrame stackframe)
           
 Term FSList.eval(Instance currentObject, StackFrame stackframe)
           
 Term Frame.eval(Instance currentObject, StackFrame stackframe)
           
 Term RDR.eval(Instance currentObject, StackFrame stackframe)
           
abstract  Term Term.eval(Instance currentObject, StackFrame frame)
          Evaluates a Term.
 Term Pattern.eval(Instance currentObject, StackFrame frame)
           
 Term Atom.eval(Instance currentObject, StackFrame stackframe)
          Gets an atom's value.
 Term Variable.eval(Instance currentObject, StackFrame stackframe)
           
 Term FSNumber.eval(Instance currentObject, StackFrame stackframe)
           
 Term Domain.eval(Instance currentObject, StackFrame stackframe)
           
 Term FSString.eval(Instance currentObject, StackFrame stackframe)
           
 boolean MobGeneric.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Generic.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Compound.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Alternatives.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Sequence.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Term.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
          Matches the Term to the current position in an input pattern.
 boolean Pattern.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Atom.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Script.fullMatch(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
protected  Domain Subr.getCurrentDomain(StackFrame frame)
          Method for subroutines to get the current domain.
 Atom Subr.getSlotName(Term arg, StackFrame frame)
          Helper function for getting the hard coded name of a slot from an argument.
 FSException Subr.hardCodeSlotNames(Term found, StackFrame frame)
          Throws an error with standard message if a function expects a slot name to be hard coded in FrameScript but it isn't.
 boolean MobGeneric.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Generic.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Compound.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Alternatives.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Sequence.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Term.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
          Matches the Term to the current position in an input pattern.
 boolean Pattern.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Atom.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 boolean Script.match(unsw.cse.framescript.InputPattern input, Instance current, StackFrame frame)
           
 FSException Subr.noEnclosingInstance(StackFrame frame)
          Throws an error with standard message if a function expects an enclosing instance frame
static FSException Subr.notDefined(Atom functor, StackFrame frame)
          Method for throwing errors with a standard error message if a function has not been defined.
 FSException Subr.notForNArgs(int nArgs, StackFrame frame)
          Method for throwing an error with standard error message if a subroutine is not defined to handle a given number of arguments.
 FSException Subr.notImplemented(StackFrame frame)
          Throws an error if a subroutine is defined but not actually implemented.
 FSException FSException.setParentStackFrame(StackFrame frame)
          Sets the stackframe inheritence that caused the error to fire.
 

Constructors in unsw.cse.framescript with parameters of type StackFrame
FSException(java.lang.Exception e, StackFrame frame)
          Creates a FSException to wrap an exception with a variable environment.
FSException(java.lang.String msg, StackFrame frame)
          Creates an error with a specified message and a variable environment.