C# Class ICSharpCode.NRefactory.CSharp.InsertSpecialsDecorator

Inheritance: DecoratingTokenWriter
Afficher le fichier Open project: 0xd4d/NRefactory

Méthodes publiques

Méthode Description
EndNode ( AstNode node ) : void
InsertSpecialsDecorator ( TokenWriter writer ) : System.Collections.Generic
NewLine ( ) : void
StartNode ( AstNode node ) : void
WriteIdentifier ( Identifier identifier, object data ) : void
WriteKeyword ( ICSharpCode.NRefactory.CSharp.Role role, string keyword ) : void
WriteToken ( ICSharpCode.NRefactory.CSharp.Role role, string token, object data ) : void

Private Methods

Méthode Description
WriteSpecials ( AstNode start, AstNode end ) : void

Writes all specials from start to end (exclusive). Does not touch the positionStack.

WriteSpecialsUpToNode ( AstNode node ) : void

Writes all specials between the current position (in the positionStack) and the specified node. Advances the current position.

WriteSpecialsUpToRole ( ICSharpCode.NRefactory.CSharp.Role role ) : void

Writes all specials between the current position (in the positionStack) and the next node with the specified role. Advances the current position.

WriteSpecialsUpToRole ( ICSharpCode.NRefactory.CSharp.Role role, AstNode nextNode ) : void

Method Details

EndNode() public méthode

public EndNode ( AstNode node ) : void
node AstNode
Résultat void

InsertSpecialsDecorator() public méthode

public InsertSpecialsDecorator ( TokenWriter writer ) : System.Collections.Generic
writer TokenWriter
Résultat System.Collections.Generic

NewLine() public méthode

public NewLine ( ) : void
Résultat void

StartNode() public méthode

public StartNode ( AstNode node ) : void
node AstNode
Résultat void

WriteIdentifier() public méthode

public WriteIdentifier ( Identifier identifier, object data ) : void
identifier Identifier
data object
Résultat void

WriteKeyword() public méthode

public WriteKeyword ( ICSharpCode.NRefactory.CSharp.Role role, string keyword ) : void
role ICSharpCode.NRefactory.CSharp.Role
keyword string
Résultat void

WriteToken() public méthode

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