프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Files | List |
||
ForceInLang | bool | ||
InLang | IParsingService | ||
IndentString | string | ||
KnownOptions | MMap |
||
MacroProcessor | |||
NewlineString | string | ||
OutExt | string | ||
OutLang | ILNodePrinter | ||
OutOptions | |||
Parallel | bool | ||
ParsingMode | |||
PreserveComments | bool | ||
ShortOptions | string>.Dictionary | ||
TwoArgOptions | InvertibleSet |
메소드 | 설명 | |
---|---|---|
AddMacros ( |
||
AddStdMacros ( ) : void |
Adds standard macros from LeMP.StdMacros.dll, and adds the namespaces LeMP and LeMP.Prelude to the pre-opened namespace list. Note: prelude macros were already added by the constructor. |
|
Compiler ( IMessageSink sink, |
||
Compiler ( IMessageSink sink, |
||
CompleteInputOutputOptions ( ) : void |
Fills in all fields of Files that are still null, based on the command-line options. Calling this is optional, since Run() calls it anyway.
|
|
CompleteInputOutputOptions ( |
||
MaybeShowHelp ( string>.ICollection |
||
OpenSourceFiles ( IMessageSink sink, IEnumerable |
Opens a set of source files by file name, and creates a text file for each.
|
|
ProcessArguments ( IList |
Processes command-line arguments to build a BMultiMap and sends those options to the other overload of this method. Note: If you get your command-line arguments as a single string, use G.SplitCommandLineArguments(string) first to split it into an array. |
|
ProcessArguments ( string>.BMultiMap |
Processes all standard command-line arguments from KnownOptions, except --help. This method calls AddStdMacros() unless options includes "nostdmacros". |
|
Run ( ) : void |
Runs the MacroProcessor on all input Files.
|
|
ShowHelp ( string>.IEnumerable |
||
WarnAboutUnknownOptions ( string>.BMultiMap |
메소드 | 설명 | |
---|---|---|
WriteOutput ( |
메소드 | 설명 | |
---|---|---|
ApplyLanguageOption ( IMessageSink sink, string option, string value, IParsingService &lang ) : void | ||
IndexOfExtension ( string fn ) : int | ||
Main ( string args ) : void | ||
ParseBoolOption ( string>.BMultiMap |
||
ParseNumericOption ( string>.BMultiMap |
||
SetPropertyHelper ( string exprStr, bool quote ) : bool | ||
TryCatch ( object context, IMessageSink sink, System.Action action ) : bool |
public AddMacros ( |
||
assembly | ||
리턴 | bool |
public Compiler ( IMessageSink sink, |
||
sink | IMessageSink | |
prelude | ||
sourceFiles | IEnumerable |
|
리턴 | System |
public Compiler ( IMessageSink sink, |
||
sink | IMessageSink | |
prelude | ||
registerEcsAndLes | bool | |
리턴 | System |
public CompleteInputOutputOptions ( |
||
file | ||
리턴 | void |
public static MaybeShowHelp ( string>.ICollection |
||
options | string>.ICollection | |
knownOptions | string>.ICollection | |
@out | ||
리턴 | bool |
public static OpenSourceFiles ( IMessageSink sink, IEnumerable |
||
sink | IMessageSink | |
fileNames | IEnumerable |
|
리턴 | List |
public ProcessArguments ( IList |
||
args | IList |
Arg list from which to extract options. **NOTE**: /// discovered options are removed from the list. This parameter /// cannot be an array. |
warnAboutUnknownOptions | bool | Whether this method should
/// call |
autoOpenInputFiles | bool | Whether to open input files
/// for you by calling |
inputFiles | IList |
A list of input files to open if /// autoOpenInputFiles is true. If this is null, The input files are /// assumed to be those command-line arguments left over after the options /// are removed. |
리턴 | string>.BMultiMap |
public ProcessArguments ( string>.BMultiMap |
||
options | string>.BMultiMap | A set of options, presumably derived from command-
/// line options using |
warnAboutUnknownOptions | bool | Whether to warn (to |
inputFiles | IList |
Files to open with |
리턴 | bool |
public static ShowHelp ( string>.IEnumerable |
||
knownOptions | string>.IEnumerable | |
@out | ||
includeUsageLine | bool | |
리턴 | void |
public static WarnAboutUnknownOptions ( string>.BMultiMap |
||
options | string>.BMultiMap | |
sink | IMessageSink | |
knownOptions | string>.IDictionary | |
리턴 | void |
public LNodePrinterOptions,Loyc.Syntax OutOptions | ||
리턴 |