private static TagNode ReadTagNode(InputReader reader) { var operatorInfo = reader.SourceInfo; if(reader.CurrentChar == '%') { reader.Skip("%"); var name = reader.ReadNameEscaped(); return new TagNode(name) { StartInfo = operatorInfo, OperatorInfo = operatorInfo }; } return new TagNode("div") { StartInfo = operatorInfo, OperatorInfo = operatorInfo }; }