Loading...
Searching...
No Matches
by::src Class Reference

Source location information. More...

#include <src.hpp>

Inheritance diagram for by::src:
by::dumSrc

Public Member Functions

 src (const srcFile &file, const std::string &name, const point &pos)
 
const srcFilegetFile () const
 
const pointgetPos () const
 
const std::string & getName () const
 
virtual void setFile (const srcFile &new1)
 
virtual void setPos (const point &new1)
 
virtual void setName (const std::string &new1)
 

Detailed Description

Source location information.

Contains which srcFile and at what location within it the created AST node was generated. Used as a core feature in the byeol language's Context-based REPL.

Remarks
src information is limited to the byeol runtime environment. Objects created in the native environment have dummy values in src. See dumSrc for details.

The documentation for this class was generated from the following file:
to Top