Свойство | Type | Description | |
---|---|---|---|
DefaultScopedProperties | object>.MMap | ||
MaxExpansions | int |
Свойство | Type | Description | |
---|---|---|---|
AddMacro | void | ||
AsDelegate | LexicalMacro | ||
GetMacros | IEnumerable |
Méthode | Description | |
---|---|---|
AddMacros ( |
||
AddMacros ( |
||
IncrementTempCounter ( ) : int |
Gets the next number to use as a suffix for temporary variables, then increments it. MacroProcessor currently starts this counter at 10 to avoid collisions with names like tmp_2 and tmp_3 that might be names chosen by a developer; tmp_10 is much less likely to collide. |
|
MacroProcessor ( IMessageSink sink ) : System |
Initializes MacroProcessor with default prelude.
|
|
MacroProcessor ( IMessageSink sink, |
Initializes MacroProcessor.
|
|
ProcessAsync ( IReadOnlyList |
Processes source files in parallel using .NET Tasks. The method returns immediately.
|
|
ProcessParallel ( IReadOnlyList |
||
ProcessSynchronously ( VList |
Processes a list of nodes directly on the current thread. Note: |
|
ProcessSynchronously ( IReadOnlyList |
Processes source files one at a time (may be easier for debugging).
|
Méthode | Description | |
---|---|---|
AddMacro ( MMap |
||
AsDelegate ( |
||
GetMacros ( |
public AddMacros ( |
||
assembly | ||
writeToSink | bool | |
Résultat | bool |
public static IncrementTempCounter ( ) : int | ||
Résultat | int |
public MacroProcessor ( IMessageSink sink ) : System | ||
sink | IMessageSink | |
Résultat | System |
public MacroProcessor ( IMessageSink sink, |
||
sink | IMessageSink | The destination for warning and error messages. NOTE:
/// this class can process files in parallel. Consider using a thread-safe
/// implementation of |
prelude | An initial type from which to add macros. /// Omit this parameter to use typeof(LeMP.Prelude.BuiltinMacros). | |
Résultat | System |
public ProcessAsync ( IReadOnlyList |
||
sourceFiles | IReadOnlyList |
|
onProcessed | Action |
|
Résultat | Task |
public ProcessParallel ( IReadOnlyList |
||
sourceFiles | IReadOnlyList |
|
onProcessed | Action |
|
Résultat | void |
public ProcessSynchronously ( VList |
||
stmts | VList |
|
Résultat | VList |
public ProcessSynchronously ( IReadOnlyList |
||
sourceFiles | IReadOnlyList |
|
onProcessed | Action |
|
Résultat | void |
public MMap DefaultScopedProperties | ||
Résultat | object>.MMap |