C# Class Microsoft.Fast.FastProvider

Afficher le fichier Open project: AutomataDotNet/Automata

Méthodes publiques

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

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
Résultat bool

GenerateCSharp() public static méthode

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
Résultat bool