[This is preliminary documentation and is subject to change.]
The Compiler type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Compiler | Initializes a new instance of the Compiler class |
Methods
Name | Description | |
---|---|---|
![]() | BuildNodeOutput |
Override to perform custom interpretation per particular compiler target
|
![]() | BuildOutputs |
Override to perform compilation into output, the base implementation loops over all nodes and interprets
script includes
|
![]() | Compile | |
![]() | Configure | |
![]() | DoCompile |
Performs a compilation - this is a root override-able method where compilation starts
|
![]() | EnsureNotCompiled | |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | EscapeFileName |
Replaces incompatible characters for file names with "_"
|
![]() | EscapeString | |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | GetOutputFileSuffix |
Override to provide meaningful extension for particular technology, i.e. SQL
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | IncludeScriptFile |
Performs a script file include
|
![]() | IncludeScriptText |
Performs a verbatim script text include
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_CompileErrors | |
![]() ![]() | SCRIPT_COMMENT_ATTR |
Specifies the comment that will be output for decorated entity in the script
|
![]() ![]() | SCRIPT_INCLUDE_SECTION |
Specifies the name of the file to be included in the output verbatim, i.e.: script-include="mytypes.txt"{}
|
![]() ![]() | SCRIPT_OUTPUT_NAME_ATTR |
Specifies the name of the output that script text has to be placed in
|
![]() ![]() | SCRIPT_TEXT_SECTION |
Specifies the text to be included in the output verbatim, i.e.: script-text="INSERT INTO TBL_ABC VALUES(1, true, now())"{}
|
Properties
Name | Description | |
---|---|---|
![]() | CompileErrors |
Returns exception errors that were generated during compilation. This property returns "planned" errors that were caused by input,
whereas CompileException returns exception that indicates some more drastic abnormality that broke the compilation
|
![]() | CompileException |
Returns exception that surfaced during compilation, or null if source has not compiled yet or no exception happened.
This exception is different form CompileErrors because it indicates some un=planned condition that broke the compilation process
|
![]() | HasCompiled |
Returns true to indicate that compiler has already processed the source schema
|
![]() | HasErrors |
Returns true when this instance did not compile properly
|
![]() | Name |
Returns the name of the technology that this compiler targets. i.e. "ORACLE", "RecordModel"
|
![]() | NameCaseSensitivity |
Determines whether output script is case sensitive
|
![]() | NameComparison |
Returns string comparison options for names that depend on target case sensitivity
|
![]() | OutputPath |
Determines where compiled output is placed
|
![]() | OutputPrefix |
Determines the prefix for output names
|
![]() | Schema |
Returns source schema
|
![]() | Target |
Returns type of target that this instance produces output for
|
See Also