Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="start"></param>
 /// <param name="quotes">e.g. single quote/double quote/backquote./</param>
 /// <param name="flags"></param>
 /// <param name="index"></param>
 internal HereDocSubType(string start, ISet <string> quotes, HereDocOptions flags, byte index)
 {
     Start  = start;
     Quotes = new StringSet();
     if (quotes != null)
     {
         Quotes.UnionWith(quotes);
     }
     Flags = flags;
     Index = index;
 }
Esempio n. 2
0
 public HereDocTerminal(string name, string start, HereDocOptions options, Type astNodeType)
     : this(name, start, options)
 {
     AstConfig.NodeType = astNodeType;
 }
Esempio n. 3
0
 public HereDocTerminal(string name, string start, HereDocOptions options, AstNodeCreator astNodeCreator)
     : this(name, start, options)
 {
     AstConfig.NodeCreator = astNodeCreator;
 }
Esempio n. 4
0
 public HereDocTerminal(string name, string start, HereDocOptions options)
     : base(name)
 {
     _subTypes.Add(start, options);
 }
Esempio n. 5
0
 internal void Add(string start, ISet <string> quotes, HereDocOptions options)
 {
     Add(new HereDocSubType(start, quotes, options, (byte)Count));
 }
Esempio n. 6
0
 internal void Add(string start, HereDocOptions options)
 {
     Add(new HereDocSubType(start, options, (byte)Count));
 }
Esempio n. 7
0
 internal HereDocSubType(string start, HereDocOptions flags, byte index)
     : this(start, null, flags, index)
 {
 }
Esempio n. 8
0
 public void AddSubType(string start, ISet <string> quotes, HereDocOptions options)
 {
     _subTypes.Add(start, quotes, options);
 }
Esempio n. 9
0
 public void AddSubType(string start, HereDocOptions options)
 {
     _subTypes.Add(start, options);
 }
Esempio n. 10
0
 public HereDocTerminal(string name, string start, ISet <string> quotes, HereDocOptions options)
     : base(name)
 {
     _subTypes.Add(start, quotes, options);
 }