コード例 #1
0
 public SendMessageToField(string fieldName, string message, Arguments arguments, VerbPrecedenceType precedenceType,
                           bool inPlace = false, bool registerCall = false, bool optional = false)
     : base(message, arguments, inPlace, registerCall, optional)
 {
     this.fieldName      = fieldName;
     this.precedenceType = precedenceType;
     result   = "";
     typeName = "";
 }
コード例 #2
0
ファイル: With.cs プロジェクト: toddcoder/Orange2
        public With(Block sourceBlock, Block actionsBlock, VerbPrecedenceType precedence)
        {
            this.sourceBlock  = sourceBlock;
            this.actionsBlock = actionsBlock;
            this.precedence   = precedence;

            result   = "";
            typeName = "";
        }
コード例 #3
0
 public SendMessageToProperty(string fieldName, string propertyName, Arguments propertyArguments,
                              string messageName, Arguments messageArguments, VerbPrecedenceType precedenceType)
 {
     this.fieldName         = fieldName;
     this.propertyName      = propertyName;
     this.propertyArguments = propertyArguments;
     this.messageName       = messageName;
     this.messageArguments  = messageArguments;
     this.precedenceType    = precedenceType;
     result   = "";
     typeName = "";
 }
コード例 #4
0
ファイル: IfExecute.cs プロジェクト: toddcoder/Orange2
 public IfExecute(Values.If @if, VerbPrecedenceType precedence = VerbPrecedenceType.Statement)
 {
     this.@if        = @if;
     this.precedence = precedence;
 }
コード例 #5
0
ファイル: WithParser.cs プロジェクト: toddcoder/Orange2
 public WithParser(string pattern = "^ /(|tabs| 'with') /b", VerbPrecedenceType precedence = VerbPrecedenceType.Statement) : base(pattern)
 {
     this.precedence = precedence;
 }
コード例 #6
0
 public Invoke(Arguments arguments, VerbPrecedenceType precedence = VerbPrecedenceType.Invoke)
 {
     this.arguments  = arguments;
     this.precedence = precedence;
 }