C# 클래스 YAMP.BaseFunction

The abstract base class for StandardFunctions and ArgumentFunctions
상속: IFunction
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
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.

메소드 상세

BaseFunction() 공개 메소드

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

BaseFunction() 공개 메소드

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

Perform() 공개 메소드

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

Perform() 공개 추상적인 메소드

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