示例#1
0
 public ShortLambdaParser(string prefix, Stop stop = null) : base($"^ /(' '*) /'{prefix}'")
 {
     valueParser       = new FillInValueParser();
     operatorParser    = new InfixOperatorParser();
     sendMessageParser = new SendMessageParser(false);
     freeParser        = new FreeParser();
     this.stop         = stop ?? CloseParenthesis();
 }
 public BlockMessageInvokeParser()
     : base(@"^(\s*)(" + Runtime.REGEX_VARIABLE + @")\.")
 {
     parser = new SendMessageParser();
 }