C# Class Pickaxe.CodeDom.Visitor.CodeDomGenerator

Inheritance: IAstVisitor
Mostrar archivo Open project: bitsummation/pickaxe Class Usage Examples

Public Methods

Method Description
CodeDomGenerator ( AstNode program ) : System
Generate ( ) : CodeCompileUnit
Visit ( AdditionOperator op ) : void
Visit ( AndExpression expression ) : void
Visit ( Block block ) : void
Visit ( BufferTable table ) : void
Visit ( CaseBooleanStatement statement ) : void
Visit ( CaseVariableStatement statement ) : void
Visit ( CommandLineVariable variable ) : void
Visit ( DivisionOperator op ) : void
Visit ( DownloadImageExpression expression ) : void
Visit ( DownloadPageExpression expression ) : void
Visit ( EachStatement eachStatement ) : void
Visit ( EqualsExpression expression ) : void
Visit ( ExpandExpression expression ) : void
Visit ( FileTable table ) : void
Visit ( FromStatement statement ) : void
Visit ( GetDatePrimitive primitive ) : void
Visit ( GreaterThanEqualExpression expression ) : void
Visit ( GreaterThanExpression expression ) : void
Visit ( IdentityVariable identity ) : void
Visit ( InnerJoinStatement statement ) : void
Visit ( InsertIntoDirectoryStatement statement ) : void
Visit ( InsertIntoStatement statement ) : void
Visit ( LessThanEqualExpression expression ) : void
Visit ( LessThanExpression expression ) : void
Visit ( LikeExpression op ) : void
Visit ( MsSqlTable table ) : void
Visit ( MultiplicatonOperator op ) : void
Visit ( NodesBooleanExpression expression ) : void
Visit ( NotEqualExpression expression ) : void
Visit ( NotLikeExpression op ) : void
Visit ( NullLiteral literal ) : void
Visit ( NullOperator op ) : void
Visit ( OrExpression expression ) : void
Visit ( PickStatement statement ) : void
Visit ( ProcedureCall call ) : void
Visit ( ProcedureDefinition statement ) : void
Visit ( Program program ) : void
Visit ( ProxyList statement ) : void
Visit ( ProxyStatement statement ) : void
Visit ( SelectAll all ) : void
Visit ( SelectArg arg ) : void
Visit ( SelectId id ) : void
Visit ( SelectStatement statement ) : void
Visit ( StringLiteral literal ) : void
Visit ( SubtrationOperator op ) : void
Visit ( TableAlias alias ) : void
Visit ( TableColumnArg arg ) : void
Visit ( TableVariableReference variable ) : void
Visit ( TableVariableRowGetter variable ) : void
Visit ( TableVariableRowReference variable ) : void
Visit ( TakeAttributeStatement statement ) : void
Visit ( TakeTextStatement statement ) : void
Visit ( TruncateTableStatement statement ) : void
Visit ( UpdateStatement statement ) : void
Visit ( VariableAssignmentStatement statement ) : void
Visit ( VariableDeclarationStatement statement ) : void
Visit ( VariableReferance variable ) : void
Visit ( WhenBooleanStatement statement ) : void
Visit ( WhenLiteralStatement statement ) : void
Visit ( WhereStatement statement ) : void
Visit ( WhileStatement whileStatement ) : void

Private Methods

Method Description
BuildIRowReaderImplementation ( CodeTypeDeclaration type, TableColumnArg tableArgs ) : void
BuildIRowWriterImplementation ( CodeTypeDeclaration type, TableColumnArg tableArgs ) : void
CallOnProgress ( CodeStatementCollection statements, bool increaseTotal = true ) : void
CallOnProgressComplete ( CodeStatementCollection statements ) : void
CreateBlockMethod ( ) : CodeMemberMethod
CreateCopyMethod ( CodeParameterDeclarationExpressionCollection methodParams, CodeStatementCollection statements ) : CodeMemberMethod
CreateFetch ( AliasBase aliasBase, CodeTypeReference &anonType ) : CodeMemberMethod
CreateStepMethod ( ) : CodeMemberMethod
DoBoolean ( BooleanExpression expression, CodeBinaryOperatorType operation ) : void
DoBooleanAggregate ( BooleanExpression expression, CodeBinaryOperatorType operation ) : void
DoInsert ( InsertIntoStatement statement ) : void
DownloadImpl ( AstNode statement, string methodName, CodeTypeReference returnType, int line ) : CodeMemberMethod
GenerateCallStatement ( CodeStatementCollection statements, int line ) : void
GenerateCodeFromExpression ( System.CodeDom.CodeExpression expression ) : string
GenerateCodeFromStatement ( CodeStatement statement ) : string
GenerateDownloadDeffered ( DownloadPageExpression expression, CodeTypeReference returnType, int line ) : void
GenerateSelectOnly ( SelectStatement statement ) : void
InitScope ( ) : void
ReplaceBooleanStatement ( AliasBase aliasBAse, string statement ) : string
VerifyCssSelector ( string selector, Semantic lineInfo ) : void
VisitChild ( AstNode node ) : CodeDomArg
VisitChild ( AstNode node, CodeDomArg arg ) : CodeDomArg

Method Details

CodeDomGenerator() public method

public CodeDomGenerator ( AstNode program ) : System
program AstNode
return System

Generate() public method

public Generate ( ) : CodeCompileUnit
return System.CodeDom.CodeCompileUnit

Visit() public method

public Visit ( AdditionOperator op ) : void
op Pickaxe.Sdk.AdditionOperator
return void

Visit() public method

public Visit ( AndExpression expression ) : void
expression AndExpression
return void

Visit() public method

public Visit ( Block block ) : void
block Block
return void

Visit() public method

public Visit ( BufferTable table ) : void
table Pickaxe.Sdk.BufferTable
return void

Visit() public method

public Visit ( CaseBooleanStatement statement ) : void
statement Pickaxe.Sdk.CaseBooleanStatement
return void

Visit() public method

public Visit ( CaseVariableStatement statement ) : void
statement Pickaxe.Sdk.CaseVariableStatement
return void

Visit() public method

public Visit ( CommandLineVariable variable ) : void
variable Pickaxe.Sdk.CommandLineVariable
return void

Visit() public method

public Visit ( DivisionOperator op ) : void
op Pickaxe.Sdk.DivisionOperator
return void

Visit() public method

public Visit ( DownloadImageExpression expression ) : void
expression Pickaxe.Sdk.DownloadImageExpression
return void

Visit() public method

public Visit ( DownloadPageExpression expression ) : void
expression Pickaxe.Sdk.DownloadPageExpression
return void

Visit() public method

public Visit ( EachStatement eachStatement ) : void
eachStatement Pickaxe.Sdk.EachStatement
return void

Visit() public method

public Visit ( EqualsExpression expression ) : void
expression EqualsExpression
return void

Visit() public method

public Visit ( ExpandExpression expression ) : void
expression ExpandExpression
return void

Visit() public method

public Visit ( FileTable table ) : void
table FileTable
return void

Visit() public method

public Visit ( FromStatement statement ) : void
statement FromStatement
return void

Visit() public method

public Visit ( GetDatePrimitive primitive ) : void
primitive GetDatePrimitive
return void

Visit() public method

public Visit ( GreaterThanEqualExpression expression ) : void
expression GreaterThanEqualExpression
return void

Visit() public method

public Visit ( GreaterThanExpression expression ) : void
expression GreaterThanExpression
return void

Visit() public method

public Visit ( IdentityVariable identity ) : void
identity IdentityVariable
return void

Visit() public method

public Visit ( InnerJoinStatement statement ) : void
statement InnerJoinStatement
return void

Visit() public method

public Visit ( InsertIntoDirectoryStatement statement ) : void
statement InsertIntoDirectoryStatement
return void

Visit() public method

public Visit ( InsertIntoStatement statement ) : void
statement InsertIntoStatement
return void

Visit() public method

public Visit ( LessThanEqualExpression expression ) : void
expression LessThanEqualExpression
return void

Visit() public method

public Visit ( LessThanExpression expression ) : void
expression LessThanExpression
return void

Visit() public method

public Visit ( LikeExpression op ) : void
op LikeExpression
return void

Visit() public method

public Visit ( MsSqlTable table ) : void
table MsSqlTable
return void

Visit() public method

public Visit ( MultiplicatonOperator op ) : void
op MultiplicatonOperator
return void

Visit() public method

public Visit ( NodesBooleanExpression expression ) : void
expression NodesBooleanExpression
return void

Visit() public method

public Visit ( NotEqualExpression expression ) : void
expression NotEqualExpression
return void

Visit() public method

public Visit ( NotLikeExpression op ) : void
op NotLikeExpression
return void

Visit() public method

public Visit ( NullLiteral literal ) : void
literal NullLiteral
return void

Visit() public method

public Visit ( NullOperator op ) : void
op NullOperator
return void

Visit() public method

public Visit ( OrExpression expression ) : void
expression OrExpression
return void

Visit() public method

public Visit ( PickStatement statement ) : void
statement PickStatement
return void

Visit() public method

public Visit ( ProcedureCall call ) : void
call ProcedureCall
return void

Visit() public method

public Visit ( ProcedureDefinition statement ) : void
statement ProcedureDefinition
return void

Visit() public method

public Visit ( Program program ) : void
program Program
return void

Visit() public method

public Visit ( ProxyList statement ) : void
statement ProxyList
return void

Visit() public method

public Visit ( ProxyStatement statement ) : void
statement ProxyStatement
return void

Visit() public method

public Visit ( SelectAll all ) : void
all SelectAll
return void

Visit() public method

public Visit ( SelectArg arg ) : void
arg SelectArg
return void

Visit() public method

public Visit ( SelectId id ) : void
id SelectId
return void

Visit() public method

public Visit ( SelectStatement statement ) : void
statement SelectStatement
return void

Visit() public method

public Visit ( StringLiteral literal ) : void
literal StringLiteral
return void

Visit() public method

public Visit ( SubtrationOperator op ) : void
op SubtrationOperator
return void

Visit() public method

public Visit ( TableAlias alias ) : void
alias TableAlias
return void

Visit() public method

public Visit ( TableColumnArg arg ) : void
arg TableColumnArg
return void

Visit() public method

public Visit ( TableVariableReference variable ) : void
variable TableVariableReference
return void

Visit() public method

public Visit ( TableVariableRowGetter variable ) : void
variable TableVariableRowGetter
return void

Visit() public method

public Visit ( TableVariableRowReference variable ) : void
variable TableVariableRowReference
return void

Visit() public method

public Visit ( TakeAttributeStatement statement ) : void
statement TakeAttributeStatement
return void

Visit() public method

public Visit ( TakeTextStatement statement ) : void
statement TakeTextStatement
return void

Visit() public method

public Visit ( TruncateTableStatement statement ) : void
statement TruncateTableStatement
return void

Visit() public method

public Visit ( UpdateStatement statement ) : void
statement UpdateStatement
return void

Visit() public method

public Visit ( VariableAssignmentStatement statement ) : void
statement VariableAssignmentStatement
return void

Visit() public method

public Visit ( VariableDeclarationStatement statement ) : void
statement VariableDeclarationStatement
return void

Visit() public method

public Visit ( VariableReferance variable ) : void
variable VariableReferance
return void

Visit() public method

public Visit ( WhenBooleanStatement statement ) : void
statement WhenBooleanStatement
return void

Visit() public method

public Visit ( WhenLiteralStatement statement ) : void
statement WhenLiteralStatement
return void

Visit() public method

public Visit ( WhereStatement statement ) : void
statement WhereStatement
return void

Visit() public method

public Visit ( WhileStatement whileStatement ) : void
whileStatement WhileStatement
return void