class KeyValueInstructionFactory extends InstructionFactory {
    @Override
    public boolean createInstruction(ExpressRunner expressRunner, InstructionSet result,
        Stack<ForRelBreakContinue> forStack, ExpressNode node, boolean isRoot)
        throws Exception {<FILL_FUNCTION_BODY>}
}

        boolean returnVal = false;
        ExpressNode[] children = node.getChildrenArray();
        if (node.getParent() != null && node.getParent().isTypeEqualsOrChild("STATEMENT")) {
            children[0].setNodeType(expressRunner.getNodeTypeManager().findNodeType("CONST_STRING"));
            children[0].setTreeType(expressRunner.getNodeTypeManager().findNodeType("CONST"));
            children[0].setObjectValue(children[0].getValue());
        }
        if (node.getParent() != null && node.getParent().isTypeEqualsOrChild("STATEMENT")
            && children[1].isTypeEqualsOrChild("STAT_BLOCK")) {
            returnVal = new MacroInstructionFactory().createInstruction(expressRunner, result, forStack, node, isRoot);
        } else if (node.getParent() != null && node.getParent().isTypeEqualsOrChild("STATEMENT")) {
            for (ExpressNode tmpNode : children) {
                boolean tmpHas = expressRunner.createInstructionSetPrivate(result, forStack, tmpNode, false);
                returnVal = returnVal || tmpHas;
            }
            OperatorBase op = expressRunner.getOperatorFactory().newInstance("alias");
            result.addInstruction(new InstructionOperator(op, children.length).setLine(node.getLine()));
            returnVal = true;
        } else {
            for (ExpressNode tmpNode : children) {
                boolean tmpHas = expressRunner.createInstructionSetPrivate(result, forStack, tmpNode, false);
                returnVal = returnVal || tmpHas;
            }

            OperatorBase op = expressRunner.getOperatorFactory().newInstance(node);
            result.addInstruction(new InstructionOperator(op, children.length).setLine(node.getLine()));
        }
        return returnVal;
    
<methods>public non-sealed void <init>() ,public abstract boolean createInstruction(com.ql.util.express.ExpressRunner, com.ql.util.express.InstructionSet, Stack<com.ql.util.express.instruction.ForRelBreakContinue>, com.ql.util.express.parse.ExpressNode, boolean) throws java.lang.Exception,public static com.ql.util.express.instruction.InstructionFactory getInstructionFactory(java.lang.String) <variables>private static final Map<java.lang.String,com.ql.util.express.instruction.InstructionFactory> INSTRUCTION_FACTORY_MAP