C# Class JSBasic.Compiler.JavaScriptGenerator

Generates JavaScript code from BASIC source code.
Mostra file Open project: danielflower/JSBasic

Public Methods

Method 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

Method Description
SetLineTypes ( ProgramNode rootNode ) : string

Method Details

Generate() public static method

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
return CompileResult