Beispiel #1
0
 private Expression FinishStringConversion() {
     Expression ret;
     var start = GetStart();
     Expression expr = ParseTestListAsExpr();
     Eat(TokenKind.BackQuote);
     ret = new BackQuoteExpression(expr);
     ret.SetLoc(_globalParent, start, GetEnd());
     return ret;
 }
Beispiel #2
0
 internal Repr(BackQuoteExpression expr)
     : this() {
     _value = Convert(expr.Expression);
 }
Beispiel #3
0
 private Expression FinishStringConversion() {
     Expression ret;
     SourceLocation start = GetStart();
     Expression expr = ParseTestListAsExpr(false);
     Eat(TokenKind.BackQuote);
     ret = new BackQuoteExpression(expr);
     ret.SetLoc(start, GetEnd());
     return ret;
 }
Beispiel #4
0
 // BackQuoteExpression
 public override bool Walk(BackQuoteExpression node)
 {
     node.Parent = _currentScope;
     return(base.Walk(node));
 }
Beispiel #5
0
 public override bool Walk(BackQuoteExpression node)
 {
     node.Parent = _currentScope;
     return base.Walk(node);
 }
Beispiel #6
0
 public override bool Walk(BackQuoteExpression node)
 {
     CommonWalk(node);
     return true;
 }
Beispiel #7
0
 public override void PostWalk(BackQuoteExpression node)
 {
     CommonPostWalk(node);
 }
 // BackQuoteExpression
 public bool Walk(BackQuoteExpression node)
 {
     return Process(node);
 }
 public void PostWalk(BackQuoteExpression node)
 {
     PostProcess(node);
 }
 // BackQuoteExpression
 public virtual bool Walk(BackQuoteExpression node)
 {
     return false;
 }
 public virtual void PostWalk(BackQuoteExpression node)
 {
 }
Beispiel #12
0
 private Expression FinishBackquote()
 {
     Expression ret;
     Location start = GetStart();
     Expression expr = ParseTestListAsExpr(false);
     Eat(TokenKind.BackQuote);
     ret = new BackQuoteExpression(expr);
     ret.SetLoc(GetExternal(), start, GetEnd());
     return ret;
 }
 public string Visit(PyAst.BackQuoteExpression node) => throw CreateNotImplementedEx();
Beispiel #14
0
		public override bool Walk(BackQuoteExpression node)
		{
			writer.WriteLine("BackQuote");
			return base.Walk(node);
		}