picceler
Loading...
Searching...
No Matches
picceler::StringNode Class Reference

AST node for string literals. More...

#include <ast.h>

Inheritance diagram for picceler::StringNode:
picceler::ASTNode

Public Member Functions

 StringNode (Location loc, std::string value)
const std::string & value () const
std::string toString () const override
Public Member Functions inherited from picceler::ASTNode
 ASTNode ()
virtual ~ASTNode ()=default
 ASTNode (Location loc)
 ASTNode (const ASTNode &)=delete
ASTNodeoperator= (const ASTNode &)=delete
 ASTNode (ASTNode &&)=default
ASTNodeoperator= (ASTNode &&)=default
Location location () const

Detailed Description

AST node for string literals.

Constructor & Destructor Documentation

◆ StringNode()

picceler::StringNode::StringNode ( Location loc,
std::string value )
inline

Member Function Documentation

◆ toString()

std::string picceler::StringNode::toString ( ) const
overridevirtual

Implements picceler::ASTNode.

◆ value()

const std::string & picceler::StringNode::value ( ) const
inline

The documentation for this class was generated from the following files:
  • /__w/picceler/picceler/include/ast.h
  • /__w/picceler/picceler/src/ast.cpp