MaybeAddDebugInfo() public method

public MaybeAddDebugInfo ( Expression expr, IPersistentMap spanMap ) : Expression
expr Expression
spanMap IPersistentMap
return Expression
Beispiel #1
0
        public static Expression AddDebugInfo(Expression expr, IPersistentMap spanMap)
        {
            GenContext context = Compiler.CompilerContextVar.deref() as GenContext;

            if (context == null)
            {
                return(expr);
            }

            return(context.MaybeAddDebugInfo(expr, spanMap));
        }