antlr-d v1.3.10 (2019-02-11T04:44:52Z)
Dub
Repo
TokenStreamRewriter.replace
antlr
v4
runtime
TokenStreamRewriter
TokenStreamRewriter
Undocumented in source. Be warned that the author may not have intended to support it.
void
replace
(size_t index, T text)
void
replace
(size_t from, size_t to, T text)
void
replace
(Token indexT, T text)
void
replace
(Token from, Token to, T text)
void
replace
(string programName, size_t from, size_t to, T text)
void
replace
(string programName, Token from, Token to, T text)
class
TokenStreamRewriter
(T)
void
replace
(
string
programName
,
Token
from
,
Token
to
,
T
text
)
Meta
Source
See Implementation
antlr
v4
runtime
TokenStreamRewriter
TokenStreamRewriter
constructors
this
functions
catOpText
deleteProgram
deleteT
getKindOfOps
getLastRewriteTokenIndex
getPositionText
getText
insertAfter
insertBefore
reduceToSingleOperationPerIndex
replace
rollback
static functions
tokens
static variables
DEFAULT_PROGRAM_NAME
MIN_TOKEN_INDEX
variables
lastRewriteTokenIndexes
programs