Program import node.
More...
#include <program.hpp>
|
| ProgramImportNode (std::string path) |
| Construct a new Program Import Node object.
|
|
TCALC_INLINE auto & | path () const noexcept |
| Get path.
|
|
TCALC_INLINE auto & | path () noexcept |
| Get path.
|
|
TCALC_INLINE void | path (std::string path) noexcept |
| Set path.
|
|
| Node (NodeType type) |
| Construct a new Node object.
|
|
TCALC_INLINE auto | type () const noexcept |
| Get the node type.
|
|
◆ ProgramImportNode()
tcalc::ast::ProgramImportNode::ProgramImportNode |
( |
std::string |
path | ) |
|
|
inlineexplicit |
Construct a new Program Import Node object.
- Parameters
-
◆ path() [1/3]
TCALC_INLINE auto & tcalc::ast::ProgramImportNode::path |
( |
| ) |
const |
|
inlinenoexcept |
Get path.
- Returns
- const std::string& Path.
◆ path() [2/3]
TCALC_INLINE auto & tcalc::ast::ProgramImportNode::path |
( |
| ) |
|
|
inlinenoexcept |
Get path.
- Returns
- std::string& Path.
◆ path() [3/3]
TCALC_INLINE void tcalc::ast::ProgramImportNode::path |
( |
std::string |
path | ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following file: