public CompiledWhile()
     : base()
 {
     _compiledStatement = new NodeLinkedList();
     _condition = new NodeLinkedList();
     _body = new NodeLinkedList();
     _conditionalJump = new ConditionalJump();
     _jump = new Jump();
 }
        public CompileWhile()
            : base()
        {
            this.compiledStatement = new LinkedList<Node>();
            this.condition = new LinkedList<Node>();
            this.body = new LinkedList<Node>();

            ConditionalJump conditionalJumpNode = new ConditionalJump();
            Jump jumpBackNode = new Jump();

            compiledStatement.AddLast(new DoNothing());
            combineLinkedLists(this.compiledStatement, this.condition);
            compiledStatement.AddLast(conditionalJumpNode);
            combineLinkedLists(this.compiledStatement, this.body);
            compiledStatement.AddLast(jumpBackNode);
            compiledStatement.AddLast(new DoNothing());

            /*
            jumpBackNode.setJump(this.compiledStatement.First.Value);
            conditionalJumpNode.setOnTrue(this.body.First.Value);
            conditionalJumpNode.setOnFalse(this.compiledStatement.Last.Value); */
        }