antlr-d v1.5.4 (2019-05-09T14:01:38Z)
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)
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)
class
TokenStreamRewriter
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
static variables
DEFAULT_PROGRAM_NAME
MIN_TOKEN_INDEX
variables
lastRewriteTokenIndexes
programs