Example #1
0
 public With(VerbPresidenceType presidence)
 {
     this.presidence = presidence;
     sourceBlock     = new Block();
     actionsBlock    = new Block();
     result          = "";
     typeName        = "";
 }
Example #2
0
 public With(Block sourceBlock, Block actionsBlock, VerbPresidenceType presidence)
 {
     this.sourceBlock  = sourceBlock;
     this.actionsBlock = actionsBlock;
     this.presidence   = presidence;
     result            = "";
     typeName          = "";
 }
Example #3
0
 public void SendMessageToField(string fieldName, string message, Arguments arguments = null,
                                VerbPresidenceType verbPresidenceType = VerbPresidenceType.SendMessage)
 {
     if (arguments == null)
     {
         arguments = new Arguments();
     }
     block.Add(new SendMessageToField(fieldName, message, arguments, verbPresidenceType));
 }
Example #4
0
 public SendMessageToField(string fieldName, string message, Arguments arguments, VerbPresidenceType presidenceType,
                           bool inPlace = false, bool registerCall = false, bool optional = false)
     : base(message, arguments, inPlace, registerCall, optional)
 {
     this.fieldName      = fieldName;
     this.presidenceType = presidenceType;
     result   = "";
     typeName = "";
 }
 public SendMessageToProperty(string fieldName, string propertyName, Arguments propertyArguments,
                              string messageName, Arguments messageArguments, VerbPresidenceType presidenceType)
 {
     this.fieldName         = fieldName;
     this.propertyName      = propertyName;
     this.propertyArguments = propertyArguments;
     this.messageName       = messageName;
     this.messageArguments  = messageArguments;
     this.presidenceType    = presidenceType;
     result   = "";
     typeName = "";
 }
Example #6
0
 public Invoke(Arguments arguments, VerbPresidenceType presidence = VerbPresidenceType.Invoke)
 {
     this.arguments  = arguments;
     this.presidence = presidence;
 }
Example #7
0
 public WithParser(string pattern = "^ /(|tabs| 'with') /b", VerbPresidenceType presidence = VerbPresidenceType.Statement)
     : base(pattern) => this.presidence = presidence;
Example #8
0
 public IfExecute(Values.If _if, VerbPresidenceType presidence = VerbPresidenceType.Statement)
 {
     this._if        = _if;
     this.presidence = presidence;
 }