C# Class NRefactoryASTGenerator.MainClass

显示文件 Open project: jbuedel/AgentRalphPlugin Class Usage Examples

Public Methods

Method Description
AddAChillunsGetter ( Type type, CodeTypeDeclaration ctd ) : void
Main ( string args ) : void

Private Methods

Method Description
AddAnAcceptVisitorMethod ( Type type, CodeTypeDeclaration ctd, string typeOfFirstParam, Type returnType ) : void
AddFieldVisitCode ( ICSharpCode.EasyCodeDom.EasyMethod m, Type type, System.CodeDom.CodeExpression var, List assertions, bool transformer ) : void
AddVisitCode ( ICSharpCode.EasyCodeDom.EasyMethod m, FieldInfo field, System.CodeDom.CodeExpression var, List assertions, bool transformer ) : bool
AssertIsNotNull ( System.CodeDom.CodeExpression expr ) : CodeStatement
ConvertType ( Type type ) : CodeTypeReference
CreateAstComparisonVisitorClass ( List nodeTypes ) : CodeTypeDeclaration
CreateAstVisitorClass ( List nodeTypes, bool transformer ) : CodeTypeDeclaration
CreateAstVisitorInterface ( List nodeTypes ) : CodeTypeDeclaration
CreateNodeTrackingAstVisitorClass ( List nodeTypes ) : CodeTypeDeclaration
CreateNotImplementedAstVisitorClass ( List nodeTypes ) : CodeTypeDeclaration
CreateToString ( Type type ) : System.CodeDom.CodeExpression
CreateTransformerLoop ( string collection, string typeName ) : string
GetBaseCtor ( Type type ) : ConstructorInfo
GetCode ( System.CodeDom.CodeExpression ex ) : string
GetDefaultValue ( string inputVariable, FieldInfo field ) : System.CodeDom.CodeExpression
GetFieldName ( string typeName ) : string
GetPropertyName ( string fieldName ) : string
IfNullSetFailure ( System.CodeDom.CodeExpression expr ) : CodeStatement
ProcessType ( Type type, CodeTypeDeclaration ctd ) : void
SetFailureIfNull ( System.CodeDom.CodeExpression expr ) : CodeStatement

Method Details

AddAChillunsGetter() public static method

public static AddAChillunsGetter ( Type type, CodeTypeDeclaration ctd ) : void
type System.Type
ctd System.CodeDom.CodeTypeDeclaration
return void

Main() public static method

public static Main ( string args ) : void
args string
return void