MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ParseTagName

Method ParseTagName

Source/Engine/Utilities/HtmlParser.cs:266–277  ·  view source on GitHub ↗

Parses a tag name. The current position should be the first character of the name. Returns the parsed name string.

()

Source from the content-addressed store, hash-verified

264 /// </summary>
265 /// <returns>Returns the parsed name string.</returns>
266 private string ParseTagName()
267 {
268 int start = _pos;
269 while (!EOF)
270 {
271 var c = Peek();
272 if (!char.IsLetterOrDigit(c))
273 break;
274 Move();
275 }
276 return _html.Substring(start, _pos - start);
277 }
278
279 /// <summary>
280 /// Parses an attribute name. The current position should be the first character of the name.

Callers

nothing calls this directly

Calls 3

SubstringMethod · 0.80
PeekFunction · 0.50
MoveFunction · 0.50

Tested by

no test coverage detected