C# 클래스 Rhino.Tools.Jsc.Program

파일 보기 프로젝트 열기: hazzik/Rhino.Net

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Main() 공개 정적인 메소드

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
리턴 void

ProcessOptions() 공개 메소드

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

ProcessSource() 공개 메소드

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

Program() 공개 메소드

public Program ( ) : System
리턴 System