public override bool Walk(BackQuoteExpression node) {
     HasSideEffects = true;
     return false;
 }
Example #2
0
 private Expression FinishStringConversion() {
     Debug.Assert(_token.Token.Kind == TokenKind.BackQuote);
     string firstWhiteSpace = _tokenWhiteSpace;
     Expression ret;
     var start = GetStart();
     Expression expr = ParseTestListAsExpr();
     bool ateBackQuote = Eat(TokenKind.BackQuote);
     ret = new BackQuoteExpression(expr);
     if (_verbatim) {
         AddPreceedingWhiteSpace(ret, firstWhiteSpace);
         AddSecondPreceedingWhiteSpace(ret, _tokenWhiteSpace);
         if (!ateBackQuote) {
             AddErrorMissingCloseGrouping(ret);
         }
     }
     ret.SetLoc(start, GetEnd());
     return ret;
 }
Example #3
0
 public override bool Walk(BackQuoteExpression node)
 {
     node.Parent = _currentScope;
     return(base.Walk(node));
 }
Example #4
0
 public override bool Walk(BackQuoteExpression node) {
     return UpdateLineInfo(node, true);
 }
Example #5
0
 public override void PostWalk(BackQuoteExpression node) { PostWalkWorker(node); }
Example #6
0
 // BackQuoteExpression
 public override bool Walk(BackQuoteExpression node) { return ShouldWalkWorker(node); }