C# Class Rhino.Tools.Jsc.Program

Afficher le fichier Open project: hazzik/Rhino.Net

Méthodes publiques

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

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

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

ProcessOptions() public méthode

Parse arguments.
Parse arguments.
public ProcessOptions ( string args ) : string[]
args string
Résultat string[]

ProcessSource() public méthode

Compile JavaScript source.
Compile JavaScript source.
public ProcessSource ( string filenames ) : void
filenames string
Résultat void

Program() public méthode

public Program ( ) : System
Résultat System