C# Class YAMP.FunctionKeyword

Represents the syntax for a function keyword. The basic syntax is function NAME ( ARGS ) STATEMENT
Inheritance: BodyKeyword
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Méthodes publiques

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

public FunctionKeyword ( ) : System
Résultat System

FunctionKeyword() public méthode

public FunctionKeyword ( Int32 line, Int32 column, QueryContext query ) : System
line System.Int32
column System.Int32
query QueryContext
Résultat System

Interpret() public méthode

public Interpret ( Value>.IDictionary symbols ) : Value
symbols Value>.IDictionary
Résultat Value

Scan() public méthode

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

ToCode() public méthode

Transforms the created function expression to YAMP code.
public ToCode ( ) : String
Résultat String