Skip to contents

Create a constant AST node

Usage

ast_constant(value, ...)

Arguments

value

A numeric or character constant.

...

Additional fields stored on the node (passed to new_ast()).

Value

An constant S3 object (subclass of ast).