C# Class YAMP.FunctionKeyword

Represents the syntax for a function keyword. The basic syntax is function NAME ( ARGS ) STATEMENT
Inheritance: BodyKeyword
显示文件 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
FunctionKeyword ( ) : System
FunctionKeyword ( Int32 line, Int32 column, QueryContext query ) : System
Interpret ( Value>.IDictionary symbols ) : Value
Scan ( ParseEngine engine ) : Expression

Scans for a function entry.

ToCode ( ) : String

Transforms the created function expression to YAMP code.

Method Details

FunctionKeyword() public method

public FunctionKeyword ( ) : System
return System

FunctionKeyword() public method

public FunctionKeyword ( Int32 line, Int32 column, QueryContext query ) : System
line System.Int32
column System.Int32
query QueryContext
return System

Interpret() public method

public Interpret ( Value>.IDictionary symbols ) : Value
symbols Value>.IDictionary
return Value

Scan() public method

Scans for a function entry.
public Scan ( ParseEngine engine ) : Expression
engine ParseEngine The current parse engine.
return Expression

ToCode() public method

Transforms the created function expression to YAMP code.
public ToCode ( ) : String
return String