Codiga has joined Datadog!

Read the Blog
Skip to main content

AstString AST Common Object

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


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


When you have an ASTString, you can do the following

const astString = ...

const s = astString.value;