示例#1
0
 internal override Executable PastelResolve(Parser parser)
 {
     this.Condition = this.Condition.PastelResolve(parser);
     this.TrueCode  = Executable.PastelResolveExecutables(parser, this.TrueCode);
     this.FalseCode = Executable.PastelResolveExecutables(parser, this.FalseCode);
     return(this);
 }
示例#2
0
 internal override Executable PastelResolve(Parser parser)
 {
     this.Init      = Executable.PastelResolveExecutables(parser, this.Init);
     this.Condition = this.Condition.PastelResolve(parser);
     this.Step      = Executable.PastelResolveExecutables(parser, this.Step);
     this.Code      = Executable.PastelResolveExecutables(parser, this.Code);
     return(this);
 }
示例#3
0
        internal override Executable PastelResolve(Parser parser)
        {
            this.Condition = this.Condition.PastelResolve(parser);
            for (int i = 0; i < this.Chunks.Length; ++i)
            {
                Chunk chunk = this.Chunks[i];
                for (int j = 0; j < chunk.Cases.Length; ++j)
                {
                    Expression c = chunk.Cases[j];
                    if (c != null)
                    {
                        chunk.Cases[j] = c.PastelResolve(parser);
                    }
                }

                chunk.Code = Executable.PastelResolveExecutables(parser, chunk.Code);
            }
            return(this);
        }
示例#4
0
 internal override Executable PastelResolve(Parser parser)
 {
     this.Code = Executable.PastelResolveExecutables(parser, this.Code);
     return(this);
 }