C# 클래스 VsTeXProject.VisualStudio.Project.TokenProcessor

파일 보기 프로젝트 열기: mimura1133/vstex

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddDelete() 공개 메소드

Add a deletion entry
public AddDelete ( string tokenToDelete ) : void
tokenToDelete string Token to delete
리턴 void

AddReplace() 공개 메소드

Add a replacement type entry
public AddReplace ( string token, string replacement ) : void
token string token to replace
replacement string replacement string
리턴 void

DeleteTokens() 공개 메소드

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

ReplaceBetweenTokens() 공개 메소드

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
리턴 void

ReplaceTokens() 공개 메소드

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
리턴 void

Reset() 공개 메소드

Reset list of TokenReplacer entries
public Reset ( ) : void
리턴 void

TokenProcessor() 공개 메소드

Constructor
public TokenProcessor ( ) : System
리턴 System