C# Class ICSharpCode.NRefactory.CSharp.DecoratingTokenWriter

Inheritance: TokenWriter
Show file Open project: 0xd4d/NRefactory

Public Methods

Method Description
AddBracePair ( int leftStart, int leftEnd, int rightStart, int rightEnd, CodeBracesRangeFlags flags ) : void
AddHighlightedKeywordReference ( object reference, int start, int end ) : void
AddLineSeparator ( int position ) : void
DebugEnd ( AstNode node, int end ) : void
DebugExpression ( AstNode node ) : void
DebugHidden ( AstNode hiddenNode ) : void
DebugStart ( AstNode node, int start ) : void
EndNode ( AstNode node ) : void
GetLocation ( ) : int?
Indent ( ) : void
NewLine ( ) : void
Space ( ) : void
StartNode ( AstNode node ) : void
Unindent ( ) : void
WriteComment ( CommentType commentType, string content, CommentReference refs ) : void
WriteIdentifier ( Identifier identifier, object data ) : void
WriteKeyword ( ICSharpCode.NRefactory.CSharp.Role role, string keyword ) : void
WritePreProcessorDirective ( PreProcessorDirectiveType type, string argument ) : void
WritePrimitiveType ( string type ) : void
WritePrimitiveValue ( object value, object data = null, string literalValue = null ) : void
WriteToken ( ICSharpCode.NRefactory.CSharp.Role role, string token, object data ) : void

Protected Methods

Method Description
DecoratingTokenWriter ( TokenWriter decoratedWriter ) : System

Method Details

AddBracePair() public method

public AddBracePair ( int leftStart, int leftEnd, int rightStart, int rightEnd, CodeBracesRangeFlags flags ) : void
leftStart int
leftEnd int
rightStart int
rightEnd int
flags CodeBracesRangeFlags
return void

AddHighlightedKeywordReference() public method

public AddHighlightedKeywordReference ( object reference, int start, int end ) : void
reference object
start int
end int
return void

AddLineSeparator() public method

public AddLineSeparator ( int position ) : void
position int
return void

DebugEnd() public method

public DebugEnd ( AstNode node, int end ) : void
node AstNode
end int
return void

DebugExpression() public method

public DebugExpression ( AstNode node ) : void
node AstNode
return void

DebugHidden() public method

public DebugHidden ( AstNode hiddenNode ) : void
hiddenNode AstNode
return void

DebugStart() public method

public DebugStart ( AstNode node, int start ) : void
node AstNode
start int
return void

DecoratingTokenWriter() protected method

protected DecoratingTokenWriter ( TokenWriter decoratedWriter ) : System
decoratedWriter TokenWriter
return System

EndNode() public method

public EndNode ( AstNode node ) : void
node AstNode
return void

GetLocation() public method

public GetLocation ( ) : int?
return int?

Indent() public method

public Indent ( ) : void
return void

NewLine() public method

public NewLine ( ) : void
return void

Space() public method

public Space ( ) : void
return void

StartNode() public method

public StartNode ( AstNode node ) : void
node AstNode
return void

Unindent() public method

public Unindent ( ) : void
return void

WriteComment() public method

public WriteComment ( CommentType commentType, string content, CommentReference refs ) : void
commentType CommentType
content string
refs CommentReference
return void

WriteIdentifier() public method

public WriteIdentifier ( Identifier identifier, object data ) : void
identifier Identifier
data object
return void

WriteKeyword() public method

public WriteKeyword ( ICSharpCode.NRefactory.CSharp.Role role, string keyword ) : void
role ICSharpCode.NRefactory.CSharp.Role
keyword string
return void

WritePreProcessorDirective() public method

public WritePreProcessorDirective ( PreProcessorDirectiveType type, string argument ) : void
type PreProcessorDirectiveType
argument string
return void

WritePrimitiveType() public method

public WritePrimitiveType ( string type ) : void
type string
return void

WritePrimitiveValue() public method

public WritePrimitiveValue ( object value, object data = null, string literalValue = null ) : void
value object
data object
literalValue string
return void

WriteToken() public method

public WriteToken ( ICSharpCode.NRefactory.CSharp.Role role, string token, object data ) : void
role ICSharpCode.NRefactory.CSharp.Role
token string
data object
return void