示例#1
0
文件: ResBreakExp.cs 项目: kzyg/spark
        public override IResExp Substitute(Substitution subst)
        {
            var newExp = _exp == null ? null : _exp.Substitute(subst);

            return(new ResBreakExp(
                       this.Range,
                       subst.Lookup(_label),
                       newExp));
        }
示例#2
0
 public override IResExp Substitute(Substitution subst)
 {
     return(subst.Lookup(_varDecl, this.Range));
 }
示例#3
0
 public IResTypeExp Substitute(Substitution subst)
 {
     return(subst.Lookup(_varDecl, _range));
 }