Пример #1
0
        public override REExpression Invoke()
        {
            REBase _ancestor = FindAncestorOfType(typeof(RELoop));

            if (_ancestor != null)
            {
                ((RELoop)_ancestor).Break = true;
            }
            else
            {
                throw new Exception(this.GetType().Name + " n'a pas trouvé l'encêtre auquel transmetre un break.");
            }
            return(this);
        }
Пример #2
0
 public REProperty(REBase _value, string memberName)
 {
     ReValue    = _value;
     MemberName = memberName;
 }
Пример #3
0
 public REField(REBase _value, string _memberName)
 {
     ReValue    = _value;
     MemberName = _memberName;
 }
Пример #4
0
 public REProperty(string parentTypeName, REBase _value, string memberName)
 {
     ParentTypeName = parentTypeName;
     ReValue        = _value;
     MemberName     = memberName;
 }
Пример #5
0
 public REField(string parentTypeName, REBase value, string memberName)
 {
     ParentTypeName = parentTypeName;
     ReValue        = value;
     MemberName     = memberName;
 }