C# Class Microsoft.Fast.FastProvider

Exibir arquivo Open project: AutomataDotNet/Automata

Public Methods

Method Description
CheckSyntax ( String inputPath ) : bool

Check if the input file is a correct Fast program: returns true if correct, returns false and prints an exception if it is not.

GenerateCSharp ( String inputPath, String outputPath, String ns, bool flag ) : bool

Generates C# code from a Fast program

Method Details

CheckSyntax() public static method

Check if the input file is a correct Fast program: returns true if correct, returns false and prints an exception if it is not.
public static CheckSyntax ( String inputPath ) : bool
inputPath String the Fast file to be checked
return bool

GenerateCSharp() public static method

Generates C# code from a Fast program
public static GenerateCSharp ( String inputPath, String outputPath, String ns, bool flag ) : bool
inputPath String the Fast file from which it generates the CSharp code
outputPath String the C# file into which the CSharp code is generated
ns String the package the generated file will belong to
flag bool true to generate the transducer's optimized version
return bool