internal override Executable PastelResolve(ParserContext parser) { this.Condition = this.Condition.PastelResolve(parser); this.TrueCode = Executable.PastelResolveExecutables(parser, this.TrueCode); this.FalseCode = Executable.PastelResolveExecutables(parser, this.FalseCode); return(this); }
internal override Executable PastelResolve(ParserContext 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); }
internal override Executable PastelResolve(ParserContext 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); }