C# Class JSBasic.Compiler.JavaScriptGenerator

Generates JavaScript code from BASIC source code.
Afficher le fichier Open project: danielflower/JSBasic

Méthodes publiques

Méthode Description
Generate ( string sourceCode ) : CompileResult

Generates JavaScript based on BASIC source code, and returns a CopmileResult object containing the compiled source code if successful, or otherwise error messages.

Private Methods

Méthode Description
SetLineTypes ( ProgramNode rootNode ) : string

Method Details

Generate() public static méthode

Generates JavaScript based on BASIC source code, and returns a CopmileResult object containing the compiled source code if successful, or otherwise error messages.
public static Generate ( string sourceCode ) : CompileResult
sourceCode string
Résultat CompileResult