CodeQL library for C#
codeql/csharp-all 3.0.1 (changelog, source)
Search

Class AspOpenTag

An open tag, for example the tag on line 1 in

<script runat="server">
  Label.Text = "Hello, World!";
</script>

Import path

import semmle.code.asp.AspNet

Direct supertypes

Indirect supertypes

Predicates

getAttribute

Gets the ith attribute of this open tag.

getAttributeByName

Gets the attribute named name, if any.

getName

Gets the name of this open tag.

hasAttribute

Holds if this open tag has an attribute.

isEmpty

Holds if this open tag is empty.

toString

Gets a textual representation of this element.

Inherited predicates

getBody

Gets the body of this element.

from AspElement
getLocation

Gets the location of this element.

from AspElement