Class SIQLCompiler
Compiles a syntax tree to IL-Code (optimized for sql)
Inheritance
System.Object
SIQLCompiler
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SqlDotNet.Compiler
Assembly: SqlDotNet.dll
Syntax
public class SIQLCompiler : ICompiler
Constructors
| Improve this Doc View SourceSIQLCompiler(IErrorListener, IQueryExecutor)
Create compiler
Declaration
public SIQLCompiler(IErrorListener errorListener, IQueryExecutor executor)
Parameters
Type | Name | Description |
---|---|---|
IErrorListener | errorListener | Error listener instance |
IQueryExecutor | executor |
Fields
| Improve this Doc View SourceSIQL_VERSION
Declaration
public const string SIQL_VERSION = "v1"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCompile(EntryPointNode)
Compile to IL-Code
Declaration
public CompiledQuery Compile(EntryPointNode node)
Parameters
Type | Name | Description |
---|---|---|
EntryPointNode | node | TreeNode instnace |
Returns
Type | Description |
---|---|
CompiledQuery | Stream with the compiled code |
GetConstantTypeStr(ConstantNode)
Get the type as a string
Declaration
public string GetConstantTypeStr(ConstantNode node)
Parameters
Type | Name | Description |
---|---|---|
ConstantNode | node | Node instnace |
Returns
Type | Description |
---|---|
System.String | Type as string |