C# Class YAMP.BaseFunction

The abstract base class for StandardFunctions and ArgumentFunctions
Inheritance: IFunction
Mostrar archivo Open project: FlorianRappl/YAMP

Public Methods

Method Description
BaseFunction ( ) : System

Creates a function class with the name chosen by convention.

BaseFunction ( String name ) : System

Creates a function class.

Perform ( ParseContext context, Value argument ) : Value

Invokes the function.

Perform ( Value argument ) : Value

Executes the function.

Method Details

BaseFunction() public method

Creates a function class with the name chosen by convention.
public BaseFunction ( ) : System
return System

BaseFunction() public method

Creates a function class.
public BaseFunction ( String name ) : System
name String The name for the function.
return System

Perform() public method

Invokes the function.
public Perform ( ParseContext context, Value argument ) : Value
context ParseContext The context of the invocation.
argument Value The function's argument(s).
return Value

Perform() public abstract method

Executes the function.
public abstract Perform ( Value argument ) : Value
argument Value The function's argument(s).
return Value