Method | Description | |
---|---|---|
ConvertCharLiteral ( char ch ) : string |
Gets the escape sequence for the specified character within a char literal. Does not include the single quotes surrounding the char literal.
|
|
ConvertString ( string str ) : string |
Converts special characters to escape sequences within the given string.
|
|
EndNode ( AstNode node ) : void | ||
Indent ( ) : void | ||
NewLine ( ) : void | ||
PrintPrimitiveValue ( object value ) : string | ||
Space ( ) : void | ||
StartNode ( AstNode node ) : void | ||
TextWriterTokenWriter ( |
||
Unindent ( ) : void | ||
WriteComment ( CommentType commentType, string content, |
||
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 | ||
WritePrimitiveValue ( object value, object data, string literalValue, int &column, object>.Action |
||
WriteToken ( ICSharpCode.NRefactory.CSharp.Role role, string token, object data ) : void |
Method | Description | |
---|---|---|
WriteIndentation ( ) : void |
Method | Description | |
---|---|---|
AppendChar ( StringBuilder sb, char ch ) : void | ||
ConvertChar ( char ch ) : string |
Gets the escape sequence for the specified character. This method does not convert ' or ". |
|
UpdateEndLocation ( string content, int &line, int &column ) : void |
public static ConvertCharLiteral ( char ch ) : string | ||
ch | char | |
return | string |
public static ConvertString ( string str ) : string | ||
str | string | |
return | string |
public static PrintPrimitiveValue ( object value ) : string | ||
value | object | |
return | string |
public TextWriterTokenWriter ( |
||
textWriter | ||
return | System |
public WriteComment ( CommentType commentType, string content, |
||
commentType | CommentType | |
content | string | |
refs | ||
return | void |
public WriteIdentifier ( Identifier identifier, object data ) : void | ||
identifier | Identifier | |
data | object | |
return | void |
public WriteKeyword ( ICSharpCode.NRefactory.CSharp.Role role, string keyword ) : void | ||
role | ICSharpCode.NRefactory.CSharp.Role | |
keyword | string | |
return | void |
public WritePreProcessorDirective ( PreProcessorDirectiveType type, string argument ) : void | ||
type | PreProcessorDirectiveType | |
argument | string | |
return | void |
public WritePrimitiveType ( string type ) : void | ||
type | string | |
return | void |
public WritePrimitiveValue ( object value, object data = null, string literalValue = null ) : void | ||
value | object | |
data | object | |
literalValue | string | |
return | void |
public static WritePrimitiveValue ( object value, object data, string literalValue, int &column, object>.Action |
||
value | object | |
data | object | |
literalValue | string | |
column | int | |
writer | object>.Action | |
writeToken | Action |
|
return | void |
public WriteToken ( ICSharpCode.NRefactory.CSharp.Role role, string token, object data ) : void | ||
role | ICSharpCode.NRefactory.CSharp.Role | |
token | string | |
data | object | |
return | void |