Esempio n. 1
0
 public EvalExprEvent(DebugTemplate template, Interval outputInterval, Interval sourceInterval)
     : base(template, outputInterval)
 {
     this._sourceInterval = sourceInterval;
     if (_sourceInterval != null)
     {
         expr = template.impl.template.Substring(_sourceInterval.Start, _sourceInterval.Length);
     }
 }
Esempio n. 2
0
        public InterpEvent(DebugTemplate template, Interval interval)
        {
            if (template == null)
            {
                throw new ArgumentNullException("template");
            }
            if (interval == null)
            {
                throw new ArgumentNullException("interval");
            }

            this._template = template;
            this._interval = interval;
        }
Esempio n. 3
0
 protected DebugTemplate(DebugTemplate prototype, bool shadowLocals, Template enclosingInstance)
     : base(prototype, shadowLocals, enclosingInstance)
 {
     if (shadowLocals)
     {
         newSTEvent    = prototype.newSTEvent;
         addAttrEvents = prototype.addAttrEvents;
     }
     else
     {
         newSTEvent    = new ConstructionEvent();
         addAttrEvents = new MultiMap <string, AddAttributeEvent>();
     }
 }
Esempio n. 4
0
 protected DebugTemplate(DebugTemplate prototype, bool shadowLocals, Template enclosingInstance)
     : base(prototype, shadowLocals, enclosingInstance)
 {
     if (shadowLocals)
     {
         newSTEvent = prototype.newSTEvent;
         addAttrEvents = prototype.addAttrEvents;
     }
     else
     {
         newSTEvent = new ConstructionEvent();
         addAttrEvents = new MultiMap<string, AddAttributeEvent>();
     }
 }
Esempio n. 5
0
 public EvalTemplateEvent(DebugTemplate template, Interval interval)
     : base(template, interval)
 {
 }