package org.twig.syntax.parser.node.type.expression;

import org.twig.compiler.ClassCompiler;
import org.twig.exception.LoaderException;
import org.twig.exception.TwigRuntimeException;

public class Name extends Expression {
    public Name(String name, Integer line) {
        super(line);
        putAttribute("name", name);
    }

    @Override
    public void compile(ClassCompiler compiler) throws LoaderException, TwigRuntimeException {
        compiler
                .addDebugInfo(this)
                .writeLine("getContext(context, \"" + getAttribute("name") + "\", false, " + getLine() +")");
    }
}

@@ -456,71 +456,17 @@
 iler
-%0A                .addDebugInfo(this)%0A                
 .write
-Line
+Raw
 (%22ge

Remove debug info from Name node