presto-main/src/main/java/io/prestosql/sql/gen/InputReferenceCompiler.java/InputReferenceCompiler/visitInputReference
class InputReferenceCompiler:    @Override
    public BytecodeNode visitInputReference(InputReferenceExpression node, Scope scope)
    {
        int field = node.getField();
        Type type = node.getType();

        BytecodeExpression block = blockResolver.apply(scope, field);
        BytecodeExpression position = positionResolver.apply(scope, field);

        return generateInputReference(callSiteBinder, scope, type, block, position);
    }