private String replaceFromVariableStatementInternal ( JQLContext context , String jql , final List < Triple < Token , Token , String > > replace , JqlBaseListener rewriterListener ) { Pair < ParserRuleContext , CommonTokenStream > parser = prepareVariableStatement ( context , jql ) ; walker . walk ( rewriterListener , parser . value0 ) ; TokenStreamRewriter rewriter = new TokenStreamRewriter ( parser . value1 ) ; for ( Triple < Token , Token , String > item : replace ) { rewriter . replace ( item . value0 , item . value1 , item . value2 ) ; } return rewriter . getText ( ) ; }
Replace from variable statement internal .