Beispiel #1
0
 public override void PostWalk(BackQuoteExpression node)
 {
     PostWalkWorker(node);
 }
Beispiel #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;
 }
Beispiel #3
0
 // BackQuoteExpression
 public override bool Walk(BackQuoteExpression node)
 {
     return ShouldWalkWorker(node);
 }