/// <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; }
public HereDocTerminal(string name, string start, HereDocOptions options, Type astNodeType) : this(name, start, options) { AstConfig.NodeType = astNodeType; }
public HereDocTerminal(string name, string start, HereDocOptions options, AstNodeCreator astNodeCreator) : this(name, start, options) { AstConfig.NodeCreator = astNodeCreator; }
public HereDocTerminal(string name, string start, HereDocOptions options) : base(name) { _subTypes.Add(start, options); }
internal void Add(string start, ISet <string> quotes, HereDocOptions options) { Add(new HereDocSubType(start, quotes, options, (byte)Count)); }
internal void Add(string start, HereDocOptions options) { Add(new HereDocSubType(start, options, (byte)Count)); }
internal HereDocSubType(string start, HereDocOptions flags, byte index) : this(start, null, flags, index) { }
public void AddSubType(string start, ISet <string> quotes, HereDocOptions options) { _subTypes.Add(start, quotes, options); }
public void AddSubType(string start, HereDocOptions options) { _subTypes.Add(start, options); }
public HereDocTerminal(string name, string start, ISet <string> quotes, HereDocOptions options) : base(name) { _subTypes.Add(start, quotes, options); }