C# 클래스 ICSharpCode.NRefactory.CSharp.CSharpOutputVisitor

Outputs the AST.
상속: IAstVisitor
파일 보기 프로젝트 열기: icsharpcode/NRefactory 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
containerStack Stack
isAtStartOfLine bool
policy CSharpFormattingOptions
writer TokenWriter

공개 메소드들

메소드 설명
CSharpOutputVisitor ( TextWriter textWriter, CSharpFormattingOptions formattingPolicy ) : System
CSharpOutputVisitor ( TokenWriter writer, CSharpFormattingOptions formattingPolicy ) : System
ConvertString ( string text ) : string

Converts special characters to escape sequences within the given string.

IsKeyword ( string identifier, AstNode context ) : bool

Determines whether the specified identifier is a keyword in the given context.

VisitAccessor ( Accessor accessor ) : void
VisitAnonymousMethodExpression ( AnonymousMethodExpression anonymousMethodExpression ) : void
VisitAnonymousTypeCreateExpression ( AnonymousTypeCreateExpression anonymousTypeCreateExpression ) : void
VisitArrayCreateExpression ( ArrayCreateExpression arrayCreateExpression ) : void
VisitArrayInitializerExpression ( ArrayInitializerExpression arrayInitializerExpression ) : void
VisitArraySpecifier ( ArraySpecifier arraySpecifier ) : void
VisitAsExpression ( AsExpression asExpression ) : void
VisitAssignmentExpression ( AssignmentExpression assignmentExpression ) : void
VisitAttribute ( Attribute attribute ) : void
VisitAttributeSection ( AttributeSection attributeSection ) : void
VisitBaseReferenceExpression ( BaseReferenceExpression baseReferenceExpression ) : void
VisitBinaryOperatorExpression ( BinaryOperatorExpression binaryOperatorExpression ) : void
VisitBlockStatement ( BlockStatement blockStatement ) : void
VisitBreakStatement ( BreakStatement breakStatement ) : void
VisitCSharpTokenNode ( CSharpTokenNode cSharpTokenNode ) : void
VisitCaseLabel ( CaseLabel caseLabel ) : void
VisitCastExpression ( CastExpression castExpression ) : void
VisitCatchClause ( CatchClause catchClause ) : void
VisitCheckedExpression ( CheckedExpression checkedExpression ) : void
VisitCheckedStatement ( CheckedStatement checkedStatement ) : void
VisitComment ( Comment comment ) : void
VisitComposedType ( ComposedType composedType ) : void
VisitConditionalExpression ( ConditionalExpression conditionalExpression ) : void
VisitConstraint ( Constraint constraint ) : void
VisitConstructorDeclaration ( ConstructorDeclaration constructorDeclaration ) : void
VisitConstructorInitializer ( ConstructorInitializer constructorInitializer ) : void
VisitContinueStatement ( ContinueStatement continueStatement ) : void
VisitCustomEventDeclaration ( CustomEventDeclaration customEventDeclaration ) : void
VisitDefaultValueExpression ( DefaultValueExpression defaultValueExpression ) : void
VisitDelegateDeclaration ( DelegateDeclaration delegateDeclaration ) : void
VisitDestructorDeclaration ( DestructorDeclaration destructorDeclaration ) : void
VisitDirectionExpression ( DirectionExpression directionExpression ) : void
VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void
VisitDocumentationReference ( DocumentationReference documentationReference ) : void
VisitEmptyStatement ( EmptyStatement emptyStatement ) : void
VisitEnumMemberDeclaration ( EnumMemberDeclaration enumMemberDeclaration ) : void
VisitEventDeclaration ( EventDeclaration eventDeclaration ) : void
VisitExpressionStatement ( ExpressionStatement expressionStatement ) : void
VisitExternAliasDeclaration ( ExternAliasDeclaration externAliasDeclaration ) : void
VisitFieldDeclaration ( FieldDeclaration fieldDeclaration ) : void
VisitFixedFieldDeclaration ( FixedFieldDeclaration fixedFieldDeclaration ) : void
VisitFixedStatement ( FixedStatement fixedStatement ) : void
VisitFixedVariableInitializer ( FixedVariableInitializer fixedVariableInitializer ) : void
VisitForStatement ( ForStatement forStatement ) : void
VisitForeachStatement ( ForeachStatement foreachStatement ) : void
VisitGotoCaseStatement ( GotoCaseStatement gotoCaseStatement ) : void
VisitGotoDefaultStatement ( GotoDefaultStatement gotoDefaultStatement ) : void
VisitGotoStatement ( GotoStatement gotoStatement ) : void
VisitIdentifier ( Identifier identifier ) : void
VisitIdentifierExpression ( IdentifierExpression identifierExpression ) : void
VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void
VisitIndexerDeclaration ( IndexerDeclaration indexerDeclaration ) : void
VisitIndexerExpression ( IndexerExpression indexerExpression ) : void
VisitInvocationExpression ( InvocationExpression invocationExpression ) : void
VisitIsExpression ( IsExpression isExpression ) : void
VisitLabelStatement ( LabelStatement labelStatement ) : void
VisitLambdaExpression ( LambdaExpression lambdaExpression ) : void
VisitLockStatement ( LockStatement lockStatement ) : void
VisitMemberReferenceExpression ( MemberReferenceExpression memberReferenceExpression ) : void
VisitMemberType ( MemberType memberType ) : void
VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
VisitNamedArgumentExpression ( NamedArgumentExpression namedArgumentExpression ) : void
VisitNamedExpression ( NamedExpression namedExpression ) : void
VisitNamespaceDeclaration ( NamespaceDeclaration namespaceDeclaration ) : void
VisitNewLine ( NewLineNode newLineNode ) : void
VisitNullReferenceExpression ( NullReferenceExpression nullReferenceExpression ) : void
VisitObjectCreateExpression ( ObjectCreateExpression objectCreateExpression ) : void
VisitOperatorDeclaration ( OperatorDeclaration operatorDeclaration ) : void
VisitParameterDeclaration ( ParameterDeclaration parameterDeclaration ) : void
VisitParenthesizedExpression ( ParenthesizedExpression parenthesizedExpression ) : void
VisitPatternPlaceholder ( AstNode placeholder, PatternMatching pattern ) : void
VisitPointerReferenceExpression ( PointerReferenceExpression pointerReferenceExpression ) : void
VisitPreProcessorDirective ( PreProcessorDirective preProcessorDirective ) : void
VisitPrimitiveExpression ( PrimitiveExpression primitiveExpression ) : void
VisitPrimitiveType ( PrimitiveType primitiveType ) : void
VisitPropertyDeclaration ( PropertyDeclaration propertyDeclaration ) : void
VisitQueryContinuationClause ( QueryContinuationClause queryContinuationClause ) : void
VisitQueryExpression ( QueryExpression queryExpression ) : void
VisitQueryFromClause ( QueryFromClause queryFromClause ) : void
VisitQueryGroupClause ( QueryGroupClause queryGroupClause ) : void
VisitQueryJoinClause ( QueryJoinClause queryJoinClause ) : void
VisitQueryLetClause ( QueryLetClause queryLetClause ) : void
VisitQueryOrderClause ( QueryOrderClause queryOrderClause ) : void
VisitQueryOrdering ( QueryOrdering queryOrdering ) : void
VisitQuerySelectClause ( QuerySelectClause querySelectClause ) : void
VisitQueryWhereClause ( QueryWhereClause queryWhereClause ) : void
VisitReturnStatement ( ReturnStatement returnStatement ) : void
VisitSimpleType ( SimpleType simpleType ) : void
VisitSizeOfExpression ( SizeOfExpression sizeOfExpression ) : void
VisitStackAllocExpression ( StackAllocExpression stackAllocExpression ) : void
VisitSwitchSection ( SwitchSection switchSection ) : void
VisitSwitchStatement ( SwitchStatement switchStatement ) : void
VisitSyntaxTree ( SyntaxTree syntaxTree ) : void
VisitText ( TextNode textNode ) : void
VisitThisReferenceExpression ( ThisReferenceExpression thisReferenceExpression ) : void
VisitThrowStatement ( ThrowStatement throwStatement ) : void
VisitTryCatchStatement ( TryCatchStatement tryCatchStatement ) : void
VisitTypeDeclaration ( TypeDeclaration typeDeclaration ) : void
VisitTypeOfExpression ( TypeOfExpression typeOfExpression ) : void
VisitTypeParameterDeclaration ( TypeParameterDeclaration typeParameterDeclaration ) : void
VisitTypeReferenceExpression ( TypeReferenceExpression typeReferenceExpression ) : void
VisitUnaryOperatorExpression ( UnaryOperatorExpression unaryOperatorExpression ) : void
VisitUncheckedExpression ( UncheckedExpression uncheckedExpression ) : void
VisitUncheckedStatement ( UncheckedStatement uncheckedStatement ) : void
VisitUndocumentedExpression ( UndocumentedExpression undocumentedExpression ) : void
VisitUnsafeStatement ( UnsafeStatement unsafeStatement ) : void
VisitUsingAliasDeclaration ( UsingAliasDeclaration usingAliasDeclaration ) : void
VisitUsingDeclaration ( UsingDeclaration usingDeclaration ) : void
VisitUsingStatement ( UsingStatement usingStatement ) : void
VisitVariableDeclarationStatement ( VariableDeclarationStatement variableDeclarationStatement ) : void
VisitVariableInitializer ( VariableInitializer variableInitializer ) : void
VisitWhileStatement ( WhileStatement whileStatement ) : void
VisitWhitespace ( WhitespaceNode whitespaceNode ) : void
VisitYieldBreakStatement ( YieldBreakStatement yieldBreakStatement ) : void
VisitYieldReturnStatement ( YieldReturnStatement yieldReturnStatement ) : void
WriteTypeParameters ( IEnumerable typeParameters ) : void

보호된 메소드들

메소드 설명
CanBeConfusedWithObjectInitializer ( Expression expr ) : bool
CloseBrace ( BraceStyle style ) : void
Comma ( AstNode nextNode, bool noSpaceAfterComma = false ) : void

Writes a comma.

EndNode ( AstNode node ) : void
IsObjectOrCollectionInitializer ( AstNode node ) : bool
LPar ( ) : void
LambdaNeedsParenthesis ( LambdaExpression lambdaExpression ) : bool
NewLine ( ) : void
OpenBrace ( BraceStyle style ) : void
OptionalComma ( AstNode pos ) : void

Writes an optional comma, e.g. at the end of an enum declaration or in an array initializer

OptionalSemicolon ( AstNode pos ) : void

Writes an optional semicolon, e.g. at the end of a type or namespace declaration.

PrintInitializerElements ( AstNodeCollection elements ) : void
RPar ( ) : void
Semicolon ( ) : void

Marks the end of a statement

Space ( bool addSpace = true ) : void

Writes a space depending on policy.

StartNode ( AstNode node ) : void
WriteAttributes ( IEnumerable attributes ) : void
WriteBlock ( BlockStatement blockStatement, BraceStyle style ) : void

Writes a block statement. Similar to VisitBlockStatement() except that: 1) it allows customizing the BraceStyle 2) it does not write a trailing newline after the '}' (this job is left to the caller)

WriteCommaSeparatedList ( IEnumerable list ) : void
WriteCommaSeparatedListInBrackets ( IEnumerable list ) : void
WriteCommaSeparatedListInBrackets ( IEnumerable list, bool spaceWithin ) : void
WriteCommaSeparatedListInParenthesis ( IEnumerable list, bool spaceWithin ) : void
WriteEmbeddedStatement ( Statement embeddedStatement, NewLinePlacement nlp = NewLinePlacement.NewLine ) : void

Writes an embedded statement.

Blocks may or may not write a leading newline depending on StatementBraceStyle. Non-blocks always write a leading newline.

WriteIdentifier ( Identifier identifier ) : void
WriteIdentifier ( string identifier ) : void
WriteKeyword ( TokenRole tokenRole ) : void

Writes a keyword, and all specials up to

WriteKeyword ( string token, Role tokenRole = null ) : void
WriteMethodBody ( BlockStatement body, BraceStyle style ) : void
WriteModifiers ( IEnumerable modifierTokens ) : void
WritePrivateImplementationType ( AstType privateImplementationType ) : void
WriteQualifiedIdentifier ( IEnumerable identifiers ) : void
WriteToken ( TokenRole tokenRole ) : void
WriteToken ( string token, Role tokenRole ) : void
WriteTypeArguments ( IEnumerable typeArguments ) : void

비공개 메소드들

메소드 설명
IAstVisitor ( AstNode nullNode ) : void
MaybeNewLinesAfterUsings ( AstNode node ) : void
VisitAnyNode ( AnyNode anyNode ) : void
VisitBackreference ( Backreference backreference ) : void
VisitChoice ( Choice choice ) : void
VisitIdentifierExpressionBackreference ( IdentifierExpressionBackreference identifierExpressionBackreference ) : void
VisitNamedNode ( NamedNode namedNode ) : void
VisitNodeInPattern ( INode childNode ) : void
VisitOptionalNode ( OptionalNode optionalNode ) : void
VisitRepeat ( Repeat repeat ) : void
WriteCommaSeparatedList ( IEnumerable list ) : void
WriteCommaSeparatedList ( IEnumerable list ) : void
WriteCommaSeparatedListInParenthesis ( IEnumerable list, bool spaceWithin ) : void
WriteCommaSeparatedListInParenthesis ( IEnumerable list, bool spaceWithin ) : void

메소드 상세

CSharpOutputVisitor() 공개 메소드

public CSharpOutputVisitor ( TextWriter textWriter, CSharpFormattingOptions formattingPolicy ) : System
textWriter System.IO.TextWriter
formattingPolicy CSharpFormattingOptions
리턴 System

CSharpOutputVisitor() 공개 메소드

public CSharpOutputVisitor ( TokenWriter writer, CSharpFormattingOptions formattingPolicy ) : System
writer TokenWriter
formattingPolicy CSharpFormattingOptions
리턴 System

CanBeConfusedWithObjectInitializer() 보호된 메소드

protected CanBeConfusedWithObjectInitializer ( Expression expr ) : bool
expr Expression
리턴 bool

CloseBrace() 보호된 메소드

protected CloseBrace ( BraceStyle style ) : void
style BraceStyle
리턴 void

Comma() 보호된 메소드

Writes a comma.
protected Comma ( AstNode nextNode, bool noSpaceAfterComma = false ) : void
nextNode AstNode The next node after the comma.
noSpaceAfterComma bool When set prevents printing a space after comma.
리턴 void

ConvertString() 공개 정적인 메소드

Converts special characters to escape sequences within the given string.
public static ConvertString ( string text ) : string
text string
리턴 string

EndNode() 보호된 메소드

protected EndNode ( AstNode node ) : void
node AstNode
리턴 void

IsKeyword() 공개 정적인 메소드

Determines whether the specified identifier is a keyword in the given context.
public static IsKeyword ( string identifier, AstNode context ) : bool
identifier string
context AstNode
리턴 bool

IsObjectOrCollectionInitializer() 보호된 메소드

protected IsObjectOrCollectionInitializer ( AstNode node ) : bool
node AstNode
리턴 bool

LPar() 보호된 메소드

protected LPar ( ) : void
리턴 void

LambdaNeedsParenthesis() 보호된 메소드

protected LambdaNeedsParenthesis ( LambdaExpression lambdaExpression ) : bool
lambdaExpression LambdaExpression
리턴 bool

NewLine() 보호된 메소드

protected NewLine ( ) : void
리턴 void

OpenBrace() 보호된 메소드

protected OpenBrace ( BraceStyle style ) : void
style BraceStyle
리턴 void

OptionalComma() 보호된 메소드

Writes an optional comma, e.g. at the end of an enum declaration or in an array initializer
protected OptionalComma ( AstNode pos ) : void
pos AstNode
리턴 void

OptionalSemicolon() 보호된 메소드

Writes an optional semicolon, e.g. at the end of a type or namespace declaration.
protected OptionalSemicolon ( AstNode pos ) : void
pos AstNode
리턴 void

PrintInitializerElements() 보호된 메소드

protected PrintInitializerElements ( AstNodeCollection elements ) : void
elements AstNodeCollection
리턴 void

RPar() 보호된 메소드

protected RPar ( ) : void
리턴 void

Semicolon() 보호된 메소드

Marks the end of a statement
protected Semicolon ( ) : void
리턴 void

Space() 보호된 메소드

Writes a space depending on policy.
protected Space ( bool addSpace = true ) : void
addSpace bool
리턴 void

StartNode() 보호된 메소드

protected StartNode ( AstNode node ) : void
node AstNode
리턴 void

VisitAccessor() 공개 메소드

public VisitAccessor ( Accessor accessor ) : void
accessor Accessor
리턴 void

VisitAnonymousMethodExpression() 공개 메소드

public VisitAnonymousMethodExpression ( AnonymousMethodExpression anonymousMethodExpression ) : void
anonymousMethodExpression AnonymousMethodExpression
리턴 void

VisitAnonymousTypeCreateExpression() 공개 메소드

public VisitAnonymousTypeCreateExpression ( AnonymousTypeCreateExpression anonymousTypeCreateExpression ) : void
anonymousTypeCreateExpression AnonymousTypeCreateExpression
리턴 void

VisitArrayCreateExpression() 공개 메소드

public VisitArrayCreateExpression ( ArrayCreateExpression arrayCreateExpression ) : void
arrayCreateExpression ArrayCreateExpression
리턴 void

VisitArrayInitializerExpression() 공개 메소드

public VisitArrayInitializerExpression ( ArrayInitializerExpression arrayInitializerExpression ) : void
arrayInitializerExpression ArrayInitializerExpression
리턴 void

VisitArraySpecifier() 공개 메소드

public VisitArraySpecifier ( ArraySpecifier arraySpecifier ) : void
arraySpecifier ArraySpecifier
리턴 void

VisitAsExpression() 공개 메소드

public VisitAsExpression ( AsExpression asExpression ) : void
asExpression AsExpression
리턴 void

VisitAssignmentExpression() 공개 메소드

public VisitAssignmentExpression ( AssignmentExpression assignmentExpression ) : void
assignmentExpression AssignmentExpression
리턴 void

VisitAttribute() 공개 메소드

public VisitAttribute ( Attribute attribute ) : void
attribute Attribute
리턴 void

VisitAttributeSection() 공개 메소드

public VisitAttributeSection ( AttributeSection attributeSection ) : void
attributeSection AttributeSection
리턴 void

VisitBaseReferenceExpression() 공개 메소드

public VisitBaseReferenceExpression ( BaseReferenceExpression baseReferenceExpression ) : void
baseReferenceExpression BaseReferenceExpression
리턴 void

VisitBinaryOperatorExpression() 공개 메소드

public VisitBinaryOperatorExpression ( BinaryOperatorExpression binaryOperatorExpression ) : void
binaryOperatorExpression BinaryOperatorExpression
리턴 void

VisitBlockStatement() 공개 메소드

public VisitBlockStatement ( BlockStatement blockStatement ) : void
blockStatement BlockStatement
리턴 void

VisitBreakStatement() 공개 메소드

public VisitBreakStatement ( BreakStatement breakStatement ) : void
breakStatement BreakStatement
리턴 void

VisitCSharpTokenNode() 공개 메소드

public VisitCSharpTokenNode ( CSharpTokenNode cSharpTokenNode ) : void
cSharpTokenNode CSharpTokenNode
리턴 void

VisitCaseLabel() 공개 메소드

public VisitCaseLabel ( CaseLabel caseLabel ) : void
caseLabel CaseLabel
리턴 void

VisitCastExpression() 공개 메소드

public VisitCastExpression ( CastExpression castExpression ) : void
castExpression CastExpression
리턴 void

VisitCatchClause() 공개 메소드

public VisitCatchClause ( CatchClause catchClause ) : void
catchClause CatchClause
리턴 void

VisitCheckedExpression() 공개 메소드

public VisitCheckedExpression ( CheckedExpression checkedExpression ) : void
checkedExpression CheckedExpression
리턴 void

VisitCheckedStatement() 공개 메소드

public VisitCheckedStatement ( CheckedStatement checkedStatement ) : void
checkedStatement CheckedStatement
리턴 void

VisitComment() 공개 메소드

public VisitComment ( Comment comment ) : void
comment Comment
리턴 void

VisitComposedType() 공개 메소드

public VisitComposedType ( ComposedType composedType ) : void
composedType ComposedType
리턴 void

VisitConditionalExpression() 공개 메소드

public VisitConditionalExpression ( ConditionalExpression conditionalExpression ) : void
conditionalExpression ConditionalExpression
리턴 void

VisitConstraint() 공개 메소드

public VisitConstraint ( Constraint constraint ) : void
constraint Constraint
리턴 void

VisitConstructorDeclaration() 공개 메소드

public VisitConstructorDeclaration ( ConstructorDeclaration constructorDeclaration ) : void
constructorDeclaration ConstructorDeclaration
리턴 void

VisitConstructorInitializer() 공개 메소드

public VisitConstructorInitializer ( ConstructorInitializer constructorInitializer ) : void
constructorInitializer ConstructorInitializer
리턴 void

VisitContinueStatement() 공개 메소드

public VisitContinueStatement ( ContinueStatement continueStatement ) : void
continueStatement ContinueStatement
리턴 void

VisitCustomEventDeclaration() 공개 메소드

public VisitCustomEventDeclaration ( CustomEventDeclaration customEventDeclaration ) : void
customEventDeclaration CustomEventDeclaration
리턴 void

VisitDefaultValueExpression() 공개 메소드

public VisitDefaultValueExpression ( DefaultValueExpression defaultValueExpression ) : void
defaultValueExpression DefaultValueExpression
리턴 void

VisitDelegateDeclaration() 공개 메소드

public VisitDelegateDeclaration ( DelegateDeclaration delegateDeclaration ) : void
delegateDeclaration DelegateDeclaration
리턴 void

VisitDestructorDeclaration() 공개 메소드

public VisitDestructorDeclaration ( DestructorDeclaration destructorDeclaration ) : void
destructorDeclaration DestructorDeclaration
리턴 void

VisitDirectionExpression() 공개 메소드

public VisitDirectionExpression ( DirectionExpression directionExpression ) : void
directionExpression DirectionExpression
리턴 void

VisitDoWhileStatement() 공개 메소드

public VisitDoWhileStatement ( DoWhileStatement doWhileStatement ) : void
doWhileStatement DoWhileStatement
리턴 void

VisitDocumentationReference() 공개 메소드

public VisitDocumentationReference ( DocumentationReference documentationReference ) : void
documentationReference DocumentationReference
리턴 void

VisitEmptyStatement() 공개 메소드

public VisitEmptyStatement ( EmptyStatement emptyStatement ) : void
emptyStatement EmptyStatement
리턴 void

VisitEnumMemberDeclaration() 공개 메소드

public VisitEnumMemberDeclaration ( EnumMemberDeclaration enumMemberDeclaration ) : void
enumMemberDeclaration EnumMemberDeclaration
리턴 void

VisitEventDeclaration() 공개 메소드

public VisitEventDeclaration ( EventDeclaration eventDeclaration ) : void
eventDeclaration EventDeclaration
리턴 void

VisitExpressionStatement() 공개 메소드

public VisitExpressionStatement ( ExpressionStatement expressionStatement ) : void
expressionStatement ExpressionStatement
리턴 void

VisitExternAliasDeclaration() 공개 메소드

public VisitExternAliasDeclaration ( ExternAliasDeclaration externAliasDeclaration ) : void
externAliasDeclaration ExternAliasDeclaration
리턴 void

VisitFieldDeclaration() 공개 메소드

public VisitFieldDeclaration ( FieldDeclaration fieldDeclaration ) : void
fieldDeclaration FieldDeclaration
리턴 void

VisitFixedFieldDeclaration() 공개 메소드

public VisitFixedFieldDeclaration ( FixedFieldDeclaration fixedFieldDeclaration ) : void
fixedFieldDeclaration FixedFieldDeclaration
리턴 void

VisitFixedStatement() 공개 메소드

public VisitFixedStatement ( FixedStatement fixedStatement ) : void
fixedStatement FixedStatement
리턴 void

VisitFixedVariableInitializer() 공개 메소드

public VisitFixedVariableInitializer ( FixedVariableInitializer fixedVariableInitializer ) : void
fixedVariableInitializer FixedVariableInitializer
리턴 void

VisitForStatement() 공개 메소드

public VisitForStatement ( ForStatement forStatement ) : void
forStatement ForStatement
리턴 void

VisitForeachStatement() 공개 메소드

public VisitForeachStatement ( ForeachStatement foreachStatement ) : void
foreachStatement ForeachStatement
리턴 void

VisitGotoCaseStatement() 공개 메소드

public VisitGotoCaseStatement ( GotoCaseStatement gotoCaseStatement ) : void
gotoCaseStatement GotoCaseStatement
리턴 void

VisitGotoDefaultStatement() 공개 메소드

public VisitGotoDefaultStatement ( GotoDefaultStatement gotoDefaultStatement ) : void
gotoDefaultStatement GotoDefaultStatement
리턴 void

VisitGotoStatement() 공개 메소드

public VisitGotoStatement ( GotoStatement gotoStatement ) : void
gotoStatement GotoStatement
리턴 void

VisitIdentifier() 공개 메소드

public VisitIdentifier ( Identifier identifier ) : void
identifier Identifier
리턴 void

VisitIdentifierExpression() 공개 메소드

public VisitIdentifierExpression ( IdentifierExpression identifierExpression ) : void
identifierExpression IdentifierExpression
리턴 void

VisitIfElseStatement() 공개 메소드

public VisitIfElseStatement ( IfElseStatement ifElseStatement ) : void
ifElseStatement IfElseStatement
리턴 void

VisitIndexerDeclaration() 공개 메소드

public VisitIndexerDeclaration ( IndexerDeclaration indexerDeclaration ) : void
indexerDeclaration IndexerDeclaration
리턴 void

VisitIndexerExpression() 공개 메소드

public VisitIndexerExpression ( IndexerExpression indexerExpression ) : void
indexerExpression IndexerExpression
리턴 void

VisitInvocationExpression() 공개 메소드

public VisitInvocationExpression ( InvocationExpression invocationExpression ) : void
invocationExpression InvocationExpression
리턴 void

VisitIsExpression() 공개 메소드

public VisitIsExpression ( IsExpression isExpression ) : void
isExpression IsExpression
리턴 void

VisitLabelStatement() 공개 메소드

public VisitLabelStatement ( LabelStatement labelStatement ) : void
labelStatement LabelStatement
리턴 void

VisitLambdaExpression() 공개 메소드

public VisitLambdaExpression ( LambdaExpression lambdaExpression ) : void
lambdaExpression LambdaExpression
리턴 void

VisitLockStatement() 공개 메소드

public VisitLockStatement ( LockStatement lockStatement ) : void
lockStatement LockStatement
리턴 void

VisitMemberReferenceExpression() 공개 메소드

public VisitMemberReferenceExpression ( MemberReferenceExpression memberReferenceExpression ) : void
memberReferenceExpression MemberReferenceExpression
리턴 void

VisitMemberType() 공개 메소드

public VisitMemberType ( MemberType memberType ) : void
memberType MemberType
리턴 void

VisitMethodDeclaration() 공개 메소드

public VisitMethodDeclaration ( MethodDeclaration methodDeclaration ) : void
methodDeclaration MethodDeclaration
리턴 void

VisitNamedArgumentExpression() 공개 메소드

public VisitNamedArgumentExpression ( NamedArgumentExpression namedArgumentExpression ) : void
namedArgumentExpression NamedArgumentExpression
리턴 void

VisitNamedExpression() 공개 메소드

public VisitNamedExpression ( NamedExpression namedExpression ) : void
namedExpression NamedExpression
리턴 void

VisitNamespaceDeclaration() 공개 메소드

public VisitNamespaceDeclaration ( NamespaceDeclaration namespaceDeclaration ) : void
namespaceDeclaration NamespaceDeclaration
리턴 void

VisitNewLine() 공개 메소드

public VisitNewLine ( NewLineNode newLineNode ) : void
newLineNode NewLineNode
리턴 void

VisitNullReferenceExpression() 공개 메소드

public VisitNullReferenceExpression ( NullReferenceExpression nullReferenceExpression ) : void
nullReferenceExpression NullReferenceExpression
리턴 void

VisitObjectCreateExpression() 공개 메소드

public VisitObjectCreateExpression ( ObjectCreateExpression objectCreateExpression ) : void
objectCreateExpression ObjectCreateExpression
리턴 void

VisitOperatorDeclaration() 공개 메소드

public VisitOperatorDeclaration ( OperatorDeclaration operatorDeclaration ) : void
operatorDeclaration OperatorDeclaration
리턴 void

VisitParameterDeclaration() 공개 메소드

public VisitParameterDeclaration ( ParameterDeclaration parameterDeclaration ) : void
parameterDeclaration ParameterDeclaration
리턴 void

VisitParenthesizedExpression() 공개 메소드

public VisitParenthesizedExpression ( ParenthesizedExpression parenthesizedExpression ) : void
parenthesizedExpression ParenthesizedExpression
리턴 void

VisitPatternPlaceholder() 공개 메소드

public VisitPatternPlaceholder ( AstNode placeholder, PatternMatching pattern ) : void
placeholder AstNode
pattern PatternMatching
리턴 void

VisitPointerReferenceExpression() 공개 메소드

public VisitPointerReferenceExpression ( PointerReferenceExpression pointerReferenceExpression ) : void
pointerReferenceExpression PointerReferenceExpression
리턴 void

VisitPreProcessorDirective() 공개 메소드

public VisitPreProcessorDirective ( PreProcessorDirective preProcessorDirective ) : void
preProcessorDirective PreProcessorDirective
리턴 void

VisitPrimitiveExpression() 공개 메소드

public VisitPrimitiveExpression ( PrimitiveExpression primitiveExpression ) : void
primitiveExpression PrimitiveExpression
리턴 void

VisitPrimitiveType() 공개 메소드

public VisitPrimitiveType ( PrimitiveType primitiveType ) : void
primitiveType PrimitiveType
리턴 void

VisitPropertyDeclaration() 공개 메소드

public VisitPropertyDeclaration ( PropertyDeclaration propertyDeclaration ) : void
propertyDeclaration PropertyDeclaration
리턴 void

VisitQueryContinuationClause() 공개 메소드

public VisitQueryContinuationClause ( QueryContinuationClause queryContinuationClause ) : void
queryContinuationClause QueryContinuationClause
리턴 void

VisitQueryExpression() 공개 메소드

public VisitQueryExpression ( QueryExpression queryExpression ) : void
queryExpression QueryExpression
리턴 void

VisitQueryFromClause() 공개 메소드

public VisitQueryFromClause ( QueryFromClause queryFromClause ) : void
queryFromClause QueryFromClause
리턴 void

VisitQueryGroupClause() 공개 메소드

public VisitQueryGroupClause ( QueryGroupClause queryGroupClause ) : void
queryGroupClause QueryGroupClause
리턴 void

VisitQueryJoinClause() 공개 메소드

public VisitQueryJoinClause ( QueryJoinClause queryJoinClause ) : void
queryJoinClause QueryJoinClause
리턴 void

VisitQueryLetClause() 공개 메소드

public VisitQueryLetClause ( QueryLetClause queryLetClause ) : void
queryLetClause QueryLetClause
리턴 void

VisitQueryOrderClause() 공개 메소드

public VisitQueryOrderClause ( QueryOrderClause queryOrderClause ) : void
queryOrderClause QueryOrderClause
리턴 void

VisitQueryOrdering() 공개 메소드

public VisitQueryOrdering ( QueryOrdering queryOrdering ) : void
queryOrdering QueryOrdering
리턴 void

VisitQuerySelectClause() 공개 메소드

public VisitQuerySelectClause ( QuerySelectClause querySelectClause ) : void
querySelectClause QuerySelectClause
리턴 void

VisitQueryWhereClause() 공개 메소드

public VisitQueryWhereClause ( QueryWhereClause queryWhereClause ) : void
queryWhereClause QueryWhereClause
리턴 void

VisitReturnStatement() 공개 메소드

public VisitReturnStatement ( ReturnStatement returnStatement ) : void
returnStatement ReturnStatement
리턴 void

VisitSimpleType() 공개 메소드

public VisitSimpleType ( SimpleType simpleType ) : void
simpleType SimpleType
리턴 void

VisitSizeOfExpression() 공개 메소드

public VisitSizeOfExpression ( SizeOfExpression sizeOfExpression ) : void
sizeOfExpression SizeOfExpression
리턴 void

VisitStackAllocExpression() 공개 메소드

public VisitStackAllocExpression ( StackAllocExpression stackAllocExpression ) : void
stackAllocExpression StackAllocExpression
리턴 void

VisitSwitchSection() 공개 메소드

public VisitSwitchSection ( SwitchSection switchSection ) : void
switchSection SwitchSection
리턴 void

VisitSwitchStatement() 공개 메소드

public VisitSwitchStatement ( SwitchStatement switchStatement ) : void
switchStatement SwitchStatement
리턴 void

VisitSyntaxTree() 공개 메소드

public VisitSyntaxTree ( SyntaxTree syntaxTree ) : void
syntaxTree SyntaxTree
리턴 void

VisitText() 공개 메소드

public VisitText ( TextNode textNode ) : void
textNode TextNode
리턴 void

VisitThisReferenceExpression() 공개 메소드

public VisitThisReferenceExpression ( ThisReferenceExpression thisReferenceExpression ) : void
thisReferenceExpression ThisReferenceExpression
리턴 void

VisitThrowStatement() 공개 메소드

public VisitThrowStatement ( ThrowStatement throwStatement ) : void
throwStatement ThrowStatement
리턴 void

VisitTryCatchStatement() 공개 메소드

public VisitTryCatchStatement ( TryCatchStatement tryCatchStatement ) : void
tryCatchStatement TryCatchStatement
리턴 void

VisitTypeDeclaration() 공개 메소드

public VisitTypeDeclaration ( TypeDeclaration typeDeclaration ) : void
typeDeclaration TypeDeclaration
리턴 void

VisitTypeOfExpression() 공개 메소드

public VisitTypeOfExpression ( TypeOfExpression typeOfExpression ) : void
typeOfExpression TypeOfExpression
리턴 void

VisitTypeParameterDeclaration() 공개 메소드

public VisitTypeParameterDeclaration ( TypeParameterDeclaration typeParameterDeclaration ) : void
typeParameterDeclaration TypeParameterDeclaration
리턴 void

VisitTypeReferenceExpression() 공개 메소드

public VisitTypeReferenceExpression ( TypeReferenceExpression typeReferenceExpression ) : void
typeReferenceExpression TypeReferenceExpression
리턴 void

VisitUnaryOperatorExpression() 공개 메소드

public VisitUnaryOperatorExpression ( UnaryOperatorExpression unaryOperatorExpression ) : void
unaryOperatorExpression UnaryOperatorExpression
리턴 void

VisitUncheckedExpression() 공개 메소드

public VisitUncheckedExpression ( UncheckedExpression uncheckedExpression ) : void
uncheckedExpression UncheckedExpression
리턴 void

VisitUncheckedStatement() 공개 메소드

public VisitUncheckedStatement ( UncheckedStatement uncheckedStatement ) : void
uncheckedStatement UncheckedStatement
리턴 void

VisitUndocumentedExpression() 공개 메소드

public VisitUndocumentedExpression ( UndocumentedExpression undocumentedExpression ) : void
undocumentedExpression UndocumentedExpression
리턴 void

VisitUnsafeStatement() 공개 메소드

public VisitUnsafeStatement ( UnsafeStatement unsafeStatement ) : void
unsafeStatement UnsafeStatement
리턴 void

VisitUsingAliasDeclaration() 공개 메소드

public VisitUsingAliasDeclaration ( UsingAliasDeclaration usingAliasDeclaration ) : void
usingAliasDeclaration UsingAliasDeclaration
리턴 void

VisitUsingDeclaration() 공개 메소드

public VisitUsingDeclaration ( UsingDeclaration usingDeclaration ) : void
usingDeclaration UsingDeclaration
리턴 void

VisitUsingStatement() 공개 메소드

public VisitUsingStatement ( UsingStatement usingStatement ) : void
usingStatement UsingStatement
리턴 void

VisitVariableDeclarationStatement() 공개 메소드

public VisitVariableDeclarationStatement ( VariableDeclarationStatement variableDeclarationStatement ) : void
variableDeclarationStatement VariableDeclarationStatement
리턴 void

VisitVariableInitializer() 공개 메소드

public VisitVariableInitializer ( VariableInitializer variableInitializer ) : void
variableInitializer VariableInitializer
리턴 void

VisitWhileStatement() 공개 메소드

public VisitWhileStatement ( WhileStatement whileStatement ) : void
whileStatement WhileStatement
리턴 void

VisitWhitespace() 공개 메소드

public VisitWhitespace ( WhitespaceNode whitespaceNode ) : void
whitespaceNode WhitespaceNode
리턴 void

VisitYieldBreakStatement() 공개 메소드

public VisitYieldBreakStatement ( YieldBreakStatement yieldBreakStatement ) : void
yieldBreakStatement YieldBreakStatement
리턴 void

VisitYieldReturnStatement() 공개 메소드

public VisitYieldReturnStatement ( YieldReturnStatement yieldReturnStatement ) : void
yieldReturnStatement YieldReturnStatement
리턴 void

WriteAttributes() 보호된 메소드

protected WriteAttributes ( IEnumerable attributes ) : void
attributes IEnumerable
리턴 void

WriteBlock() 보호된 메소드

Writes a block statement. Similar to VisitBlockStatement() except that: 1) it allows customizing the BraceStyle 2) it does not write a trailing newline after the '}' (this job is left to the caller)
protected WriteBlock ( BlockStatement blockStatement, BraceStyle style ) : void
blockStatement BlockStatement
style BraceStyle
리턴 void

WriteCommaSeparatedList() 보호된 메소드

protected WriteCommaSeparatedList ( IEnumerable list ) : void
list IEnumerable
리턴 void

WriteCommaSeparatedListInBrackets() 보호된 메소드

protected WriteCommaSeparatedListInBrackets ( IEnumerable list ) : void
list IEnumerable
리턴 void

WriteCommaSeparatedListInBrackets() 보호된 메소드

protected WriteCommaSeparatedListInBrackets ( IEnumerable list, bool spaceWithin ) : void
list IEnumerable
spaceWithin bool
리턴 void

WriteCommaSeparatedListInParenthesis() 보호된 메소드

protected WriteCommaSeparatedListInParenthesis ( IEnumerable list, bool spaceWithin ) : void
list IEnumerable
spaceWithin bool
리턴 void

WriteEmbeddedStatement() 보호된 메소드

Writes an embedded statement.
Blocks may or may not write a leading newline depending on StatementBraceStyle. Non-blocks always write a leading newline.
protected WriteEmbeddedStatement ( Statement embeddedStatement, NewLinePlacement nlp = NewLinePlacement.NewLine ) : void
embeddedStatement Statement The statement to write.
nlp NewLinePlacement Determines whether a trailing newline should be written following a block. /// Non-blocks always write a trailing newline.
리턴 void

WriteIdentifier() 보호된 메소드

protected WriteIdentifier ( Identifier identifier ) : void
identifier Identifier
리턴 void

WriteIdentifier() 보호된 메소드

protected WriteIdentifier ( string identifier ) : void
identifier string
리턴 void

WriteKeyword() 보호된 메소드

Writes a keyword, and all specials up to
protected WriteKeyword ( TokenRole tokenRole ) : void
tokenRole TokenRole
리턴 void

WriteKeyword() 보호된 메소드

protected WriteKeyword ( string token, Role tokenRole = null ) : void
token string
tokenRole Role
리턴 void

WriteMethodBody() 보호된 메소드

protected WriteMethodBody ( BlockStatement body, BraceStyle style ) : void
body BlockStatement
style BraceStyle
리턴 void

WriteModifiers() 보호된 메소드

protected WriteModifiers ( IEnumerable modifierTokens ) : void
modifierTokens IEnumerable
리턴 void

WritePrivateImplementationType() 보호된 메소드

protected WritePrivateImplementationType ( AstType privateImplementationType ) : void
privateImplementationType AstType
리턴 void

WriteQualifiedIdentifier() 보호된 메소드

protected WriteQualifiedIdentifier ( IEnumerable identifiers ) : void
identifiers IEnumerable
리턴 void

WriteToken() 보호된 메소드

protected WriteToken ( TokenRole tokenRole ) : void
tokenRole TokenRole
리턴 void

WriteToken() 보호된 메소드

protected WriteToken ( string token, Role tokenRole ) : void
token string
tokenRole Role
리턴 void

WriteTypeArguments() 보호된 메소드

protected WriteTypeArguments ( IEnumerable typeArguments ) : void
typeArguments IEnumerable
리턴 void

WriteTypeParameters() 공개 메소드

public WriteTypeParameters ( IEnumerable typeParameters ) : void
typeParameters IEnumerable
리턴 void

프로퍼티 상세

containerStack 보호되어 있는 프로퍼티

protected Stack containerStack
리턴 Stack

isAtStartOfLine 보호되어 있는 프로퍼티

protected bool isAtStartOfLine
리턴 bool

policy 보호되어 있는 프로퍼티

protected CSharpFormattingOptions policy
리턴 CSharpFormattingOptions

writer 보호되어 있는 프로퍼티

protected TokenWriter writer
리턴 TokenWriter