# Interface: TextNode

### Properties

* [nodeName](#nodename)
* [parentNode](#parentnode)
* [sourceCodeLocation](#sourcecodelocation)
* [value](#value)

---

## Properties

<a id="nodename"></a>

###  nodeName

**● nodeName**: *"#text"*

The name of the node.

___
<a id="parentnode"></a>

###  parentNode

**● parentNode**: *Node*

Parent node.

___
<a id="sourcecodelocation"></a>

### `<Optional>` sourceCodeLocation

**● sourceCodeLocation**: *[Location](../../source-code-location/location.md)*

Text node source code location info. Available if location info is enabled via [ParserOptions](../../optiona/parser-options.md).

___

<a id="value"></a>

###  value

**● value**: *`string`*

Text content.

___

