![]() | CSharpParser Class |
Namespace: CSScriptLib
public class CSharpParser
The CSharpParser type exposes the following members.
Name | Description | |
---|---|---|
![]() | CSharpParser(String) |
Creates an instance of CSharpParser.
|
![]() | CSharpParser(String, Boolean) |
Creates an instance of CSharpParser.
|
![]() | CSharpParser(String, Boolean, String) |
Creates an instance of CSharpParser.
|
![]() | CSharpParser(String, Boolean, String, String) |
Creates an instance of CSharpParser.
|
Name | Description | |
---|---|---|
![]() | Args |
Embedded script arguments. The both script and engine arguments are allowed except "/noconfig" engine command line switch.
|
![]() | CmdScripts |
Pre- and post-execution scripts.
|
![]() | Code |
Script C# raw code.
|
![]() | CompilerOptions |
Embedded compiler options.
|
![]() | ExtraSearchDirs |
Additional search directories (for script and assembly probing).
|
![]() | HostOptions |
Embedded compiler options.
|
![]() | IgnoreNamespaces |
Names of namespaces to be ignored by namespace-to-assembly resolver.
|
![]() | Imports |
C# scripts to be imported.
|
![]() | Inits |
Script initialization directives.
|
![]() | ModifiedCode |
Script C# code after namespace renaming.
|
![]() | NuGets |
References to the NuGet packages.
|
![]() | Precompilers |
Precompilers.
|
![]() | RefAssemblies |
References to the external assemblies.
|
![]() | References |
References to the external assemblies and namespaces.
|
![]() | RefNamespaces |
References to the namespaces.
|
![]() | ResFiles |
References to the resource files.
|
Name | Description | |
---|---|---|
![]() | DoRenaming |
Renames namespaces according renaming instructions.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | EscapeDirectiveDelimiters |
Escapes the CS-Script directive (e.g. //css_*) delimiters.
All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. The correct syntax would be as follows '//css_include script((today)).cs;' ![]() The delimiters characters are ';,(){}'.
However you should check DirectiveDelimiters for the accurate list of all delimiters. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | UnescapeDirectiveDelimiters |
Unescapes the CS-Script directive (e.g. //css_*) delimiters.
All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. The correct syntax would be as follows '//css_include script((today)).cs;' ![]() The delimiters characters are ';,(){}'.
However you should check DirectiveDelimiters for the accurate list of all delimiters. |
Name | Description | |
---|---|---|
![]() | CustomDirectives |
The result of search for additional C# script directives to search (directive vs. value).
|
![]() ![]() | DirectiveDelimiters |
The //css_* directive delimiters.
![]() All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character.
For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters.
The correct syntax would be as follows '//css_include script((today)).cs;'
|
![]() ![]() | OpenEndDirectiveSyntax |
Enables omitting closing character (";") for CS-Script directives (e.g. "//css_ref System.Xml.dll" instead of "//css_ref System.Xml.dll;").
|
![]() ![]() | SupressCodeAnalysis |
Global flag to forcefuly supress any C# code analysys. This flag efectively disables
all CS-Script assembly and script probing and most likely some other functionality.
You may ever want to suppress code analysis only for profiling purposes or during performance tuning. |