antlr-d ~master (2021-05-12T21:31:56Z)
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, Variant text)
void
replace
(size_t from, size_t to, Variant text)
class
TokenStreamRewriter
void
replace
(
size_t
from
,
size_t
to
,
Variant
text
)
void
replace
(Token indexT, Variant text)
void
replace
(Token from, Token to, Variant text)
void
replace
(string programName, size_t from, size_t to, Variant text)
void
replace
(string programName, Token from, Token to, Variant text)
Meta
Source
See Implementation
antlr
v4
runtime
TokenStreamRewriter
TokenStreamRewriter
constructors
this
functions
catOpText
deleteProgram
deleteT
getKindOfOps
getLastRewriteTokenIndex
getText
insertAfter
insertBefore
reduceToSingleOperationPerIndex
replace
rollback
static functions
tokens
variables
DEFAULT_PROGRAM_NAME
MIN_TOKEN_INDEX
lastRewriteTokenIndexes
programs