示例#1
0
        public DefBlockServiceLine(DefBlockServiceBodyModifier modifier, ObjectHolder rightValueObj)
        {
            if (modifier.ValueText != "return")
            {
                throw new Exception("Identifier " + rightValueObj.ValueText + " can only follow a return statement");
            }

            this.modifier = modifier;
            this.rightValueObj = rightValueObj;
        }
示例#2
0
 public DefBlockServiceLine(DefBlockServiceBodyModifier modifier, AddressHandler address, 
     Optional<TokenList<ObjectOrCall>> optObjOrCallList)
 {
     this.modifier = modifier;
     this.address = address;
     this.optObjOrCallList = optObjOrCallList;
 }