C# Class YAMP.BaseFunction

The abstract base class for StandardFunctions and ArgumentFunctions
Inheritance: IFunction
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode 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 méthode

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

BaseFunction() public méthode

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

Perform() public méthode

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

Perform() public abstract méthode

Executes the function.
public abstract Perform ( Value argument ) : Value
argument Value The function's argument(s).
Résultat Value