示例#1
0
 public BlockCmd(Identifier id, BlockImport import, BlockWebImport webImport, CommandBlock commandBlock)
 {
     this.id = id;
     this.import = import;
     this.commandBlock = commandBlock;
     this.webImport = webImport;
 }
示例#2
0
 public BlockCmd(Identifier id, BlockHandleToken handle, BlockWebImport webImport, BlockRemotableType blockSuffix, CommandBlock commandBlock)
 {
     this.id = id;
     this.handle = handle;
     this.commandBlock = commandBlock;
     this.webImport = webImport;
     this.blockSuffix = blockSuffix;
 }
示例#3
0
        public BlockWebCmd(Identifier name, BlockWebImport import, BlockWebSuffix suffix, CommandBlock commandBlock)
        {
            this.name = name;
            this.commandBlock = commandBlock;
            this.import = import;
            this.suffix = suffix;

            ExecutionContext.Current.RegisterBlockWebDefinition(name.ValueText, this);
        }
示例#4
0
 public ReferenceCmd(Identifier id, Optional<TokenList<ObjectOrCall>> objList)
 {
     templateName = id;
     if (objList.HasValue) argValues = objList.Value;
 }
示例#5
0
 public BlockDefCmd(Identifier id, DefBlockBase baseType, TokenList<DefBlockBodyItem> body)
 {
     this.id = id;
     this.baseType = baseType;
     this.body = body;
 }
示例#6
0
 public DefBlockConnector(Identifier id)
 {
     this.id = id;
 }
示例#7
0
 public VarDefCmdValue(Identifier id)
 {
     this.id = id;
 }
示例#8
0
 public VarDefCmd(Token varToken, Identifier variableName, VarDefCmdValue value)
 {
     this.variableName = variableName;
     this.value = value;
     isDefine = true;
 }
示例#9
0
 public OptIdentifier(Identifier id)
 {
     this.id = id;
 }
示例#10
0
 public BlockImport(Identifier blockWebId, Identifier blockId)
 {
     this.blockWebId = blockWebId;
     this.blockId = blockId;
 }
示例#11
0
 public BlockRemotableType(Identifier remotable)
 {
     this.isRemotable = true;
 }
示例#12
0
 public BlockHandleToken(Identifier className, Identifier productName, 
     Identifier versionMajor, Identifier versionMinor,
     Identifier versionBuild, Identifier versionRevision)
 {
     this.classNameOrHandle = className;
     this.productName = productName;
     this.versionMajor = versionMajor;
     this.versionMinor = versionMinor;
     this.versionBuild = versionBuild;
     this.versionRevision = versionRevision;
 }
示例#13
0
 public BlockHandleToken(Identifier className, Identifier productName)
 {
     this.classNameOrHandle = className;
     this.productName = productName;
 }
示例#14
0
 public BlockHandleToken(Identifier classNameOrHandle)
 {
     this.classNameOrHandle = classNameOrHandle;
 }
示例#15
0
 public AttachSuffix(Identifier cmd)
     : base(cmd.ValueText)
 {
 }
示例#16
0
 public AddressHandler(AddressHandler addr)
 {
     blockWebId = addr.blockWebId;
     blockId = addr.blockId;
     serviceOrConnectorName = addr.serviceOrConnectorName;
 }
示例#17
0
 public EndPoint(Identifier epIdentifier)
 {
     this.epIdentifier = epIdentifier;
 }
示例#18
0
 public AddressHandler(Identifier blockWebToken, Identifier blockIdToken, Identifier serviceNameToken)
 {
     this.blockId = blockIdToken;
     this.serviceOrConnectorName = serviceNameToken;
     this.blockWebId = blockWebToken;
 }
示例#19
0
 public AttachMode(Token a, Identifier b, OptIdentifier optIdentifier, Token c)
 {
     prefix = b.ValueText;
     this.optIdentifier = optIdentifier;
 }
示例#20
0
 public AddressHandler(Identifier id)
 {
     this.serviceOrConnectorName = id;
 }
示例#21
0
 public VarDefCmd(Identifier variableName, VarDefCmdValue value)
 {
     this.variableName = variableName;
     this.value = value;
 }
示例#22
0
 public RegisterCmd(Identifier filePath)
 {
     this.filePath = filePath;
 }
示例#23
0
 public VarDefCmdValue()
 {
     this.id = null;
 }
示例#24
0
 public DefineSignature(Identifier id, Optional<TokenList<Identifier>> args)
 {
     this.name = id;
     this.args = args;
 }
示例#25
0
 public DefBlockService(Identifier id, Optional<TokenList<Identifier>> optArgList, TokenList<DefBlockServiceLine> body)
 {
     this.id = id;
     this.optArgList = optArgList;
     this.body = body;
 }
示例#26
0
 public ObjectOrCall(Identifier id)
 {
     this.id = id;
 }
示例#27
0
        public DefBlockServiceLine(DefBlockServiceBodyModifier modifier, Identifier rightValue)
        {
            if (modifier.ValueText != "return")
            {
                throw new Exception("Identifier " + rightValue.ValueText + " can only follow a return statement");
            }

            this.modifier = modifier;
            this.rightValue = rightValue;
        }
示例#28
0
 public BlockWebSuffix(Token prefix, Identifier suffix)
 {
     if (suffix.ValueText == "abstract")
     {
         isAbstract = true;
     }
     if (suffix.ValueText == "remotable")
     {
         isRemotable = true;
     }
 }