internal Scanner(Document document, ErrorNodeList errors) { this.document = document; this.sourceText = document.Text; this.maxPos = document.Text.Length; this.errors = errors; }
public static Identifier For(DocumentText text, int offset, int length) { return(new Identifier(text, offset, length)); }
public Identifier(DocumentText text, int offset, int length) : base(NodeType.Identifier) { this.name = text.Substring(offset, length); }