Pegmatite
Public Member Functions | List of all members
pegmatite::ExprPtr Struct Reference

A shared pointer to an expression. More...

#include <parser.hh>

Inheritance diagram for pegmatite::ExprPtr:

Public Member Functions

 ExprPtr (Expr *e)
 Construct an expression pointer wrapping an expression.
 
 ExprPtr (const Rule &e)
 Construct an expression pointer wrapping an expression that refers to a rule.
 
 ExprPtr (const CharacterExprPtr &e)
 Construct an expression pointer wrapping a character expression.
 
 ExprPtr (const char *)
 Construct an expression pointer wrapping a string expression created from a string.
 
 ExprPtr (const char32_t)
 Construct an expression pointer wrapping a character expression created from a character.
 

Detailed Description

A shared pointer to an expression.

All expression tree nodes use shared pointers.


The documentation for this struct was generated from the following file: