C# Class VsTeXProject.VisualStudio.Project.TokenProcessor

Afficher le fichier Open project: mimura1133/vstex

Méthodes publiques

Méthode Description
AddDelete ( string tokenToDelete ) : void

Add a deletion entry

AddReplace ( string token, string replacement ) : void

Add a replacement type entry

DeleteTokens ( string &buffer, DeleteToken tokenToDelete ) : void

Deletes the token from the buffer

ReplaceBetweenTokens ( string &buffer, ReplaceBetweenPairToken rpBetweenToken ) : void

Replaces the token from the buffer between the provided tokens

ReplaceTokens ( string &buffer, ReplacePairToken tokenToReplace ) : void

Replaces the tokens in a buffer with the replacement string

Reset ( ) : void

Reset list of TokenReplacer entries

TokenProcessor ( ) : System

Constructor

Private Methods

Méthode Description
AddReplaceBetween ( string tokenid, string tokenStart, string tokenEnd, string replacement ) : void
GetFileNamespace ( string fileFullPath, ProjectNode node ) : string
GuidToForm1 ( System.Guid value ) : string
IsValidIdentifierChar ( char c ) : bool
IsValidIdentifierStartChar ( char c ) : bool
UntokenFile ( string source, string destination ) : void

Method Details

AddDelete() public méthode

Add a deletion entry
public AddDelete ( string tokenToDelete ) : void
tokenToDelete string Token to delete
Résultat void

AddReplace() public méthode

Add a replacement type entry
public AddReplace ( string token, string replacement ) : void
token string token to replace
replacement string replacement string
Résultat void

DeleteTokens() public méthode

Deletes the token from the buffer
public DeleteTokens ( string &buffer, DeleteToken tokenToDelete ) : void
buffer string Buffer to update
tokenToDelete DeleteToken token to delete
Résultat void

ReplaceBetweenTokens() public méthode

Replaces the token from the buffer between the provided tokens
public ReplaceBetweenTokens ( string &buffer, ReplaceBetweenPairToken rpBetweenToken ) : void
buffer string Buffer to update
rpBetweenToken ReplaceBetweenPairToken replacement token
Résultat void

ReplaceTokens() public méthode

Replaces the tokens in a buffer with the replacement string
public ReplaceTokens ( string &buffer, ReplacePairToken tokenToReplace ) : void
buffer string Buffer to update
tokenToReplace ReplacePairToken replacement data
Résultat void

Reset() public méthode

Reset list of TokenReplacer entries
public Reset ( ) : void
Résultat void

TokenProcessor() public méthode

Constructor
public TokenProcessor ( ) : System
Résultat System