Skip to main content

AstString AST Common Object

The AstString object represents a string in the AST. It inherits the AstElement object.

Attributes

  • value (type string): the value of the string

Usage

When you have an ASTString, you can do the following

const astString = ...

const s = astString.value;