// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Web.Razor.Parser.SyntaxTree; using System.Web.Razor.Text; namespace System.Web.Razor.Tokenizer.Symbols { public class HtmlSymbol : SymbolBase { // Helper constructor public HtmlSymbol(int offset, int line, int column, string content, HtmlSymbolType type) : this(new SourceLocation(offset, line, column), content, type, Enumerable.Empty()) { } public HtmlSymbol(SourceLocation start, string content, HtmlSymbolType type) : base(start, content, type, Enumerable.Empty()) { } public HtmlSymbol(int offset, int line, int column, string content, HtmlSymbolType type, IEnumerable errors) : base(new SourceLocation(offset, line, column), content, type, errors) { } public HtmlSymbol(SourceLocation start, string content, HtmlSymbolType type, IEnumerable errors) : base(start, content, type, errors) { } } }