C# Class Rhino.Tools.Jsc.Program

Exibir arquivo Open project: hazzik/Rhino.Net

Public Methods

Method Description
Main ( string args ) : void

Main entry point.

Main entry point. Process arguments as would a normal Java program. Then set up the execution environment and begin to compile scripts.

ProcessOptions ( string args ) : string[]

Parse arguments.

Parse arguments.

ProcessSource ( string filenames ) : void

Compile JavaScript source.

Compile JavaScript source.

Program ( ) : System

Private Methods

Method Description
AddError ( string messageId, string arg ) : void
AddFormatedError ( string message ) : void
BadUsage ( string s ) : void

Print a usage message.

Print a usage message.

GetClassName ( string name ) : string

Verify that class file names are legal Java identifiers.

Verify that class file names are legal Java identifiers. Substitute illegal characters with underscores, and prepend the name with an underscore if the file name does not begin with a JavaLetter.

GetOutputFile ( FilePath parentDir, string className ) : FilePath
P ( string s ) : void
ReadSource ( FilePath f ) : string

Method Details

Main() public static method

Main entry point.
Main entry point. Process arguments as would a normal Java program. Then set up the execution environment and begin to compile scripts.
public static Main ( string args ) : void
args string
return void

ProcessOptions() public method

Parse arguments.
Parse arguments.
public ProcessOptions ( string args ) : string[]
args string
return string[]

ProcessSource() public method

Compile JavaScript source.
Compile JavaScript source.
public ProcessSource ( string filenames ) : void
filenames string
return void

Program() public method

public Program ( ) : System
return System