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