C# Class Rosetta.ScriptSharp.Definition.Runner.Program

Part of program responsible for translating one single file.
Mostra file Open project: andry-tino/Rosetta

Protected Properties

Property Type Description
assemblyPath string
fileName string
filePath string
help bool
includes List
instance Program
outputFolder string
verbose bool

Public Methods

Method Description
Program ( string args ) : System

Initializes a new instance of the Program class.

Protected Methods

Method Description
ConvertFile ( ) : void
ExecuteCore ( ) : void

Runs the main logic.

HandleError ( Exception e ) : void
HandleExtraParameters ( IEnumerable extra ) : void
HandleNoFeasibleExecution ( ) : void
HandleOptionException ( OptionException e ) : void
PerformFileConversion ( ConversionArguments arguments ) : string
ShowHelp ( ) : void

Private Methods

Method Description
CreateReferencesGroupTranslationUnit ( IEnumerable paths ) : ITranslationUnit
GeneratePrependedText ( ) : string
Main ( string args ) : void

Entry point.

Method Details

ConvertFile() protected method

protected ConvertFile ( ) : void
return void

ExecuteCore() protected method

Runs the main logic.
protected ExecuteCore ( ) : void
return void

HandleError() protected method

protected HandleError ( Exception e ) : void
e System.Exception
return void

HandleExtraParameters() protected method

protected HandleExtraParameters ( IEnumerable extra ) : void
extra IEnumerable
return void

HandleNoFeasibleExecution() protected method

protected HandleNoFeasibleExecution ( ) : void
return void

HandleOptionException() protected method

protected HandleOptionException ( OptionException e ) : void
e OptionException
return void

PerformFileConversion() protected static method

protected static PerformFileConversion ( ConversionArguments arguments ) : string
arguments Rosetta.Executable.ConversionArguments
return string

Program() public method

Initializes a new instance of the Program class.
public Program ( string args ) : System
args string
return System

ShowHelp() protected method

protected ShowHelp ( ) : void
return void

Property Details

assemblyPath protected_oe property

protected string assemblyPath
return string

fileName protected_oe property

protected string fileName
return string

filePath protected_oe property

protected string filePath
return string

help protected_oe property

protected bool help
return bool

includes protected_oe property

protected List includes
return List

instance protected_oe static_oe property

protected static Program instance
return Program

outputFolder protected_oe property

protected string outputFolder
return string

verbose protected_oe property

protected bool verbose
return bool