Added ParsePrimary (base of call stack)

This commit is contained in:
Pasha Bibko
2025-08-04 15:46:43 +01:00
parent 7e95b7157e
commit 820d374fa0
3 changed files with 63 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ namespace LXC::AST
class IntLiteral final : public NodeValue
{
public:
IntLiteral(std::string& value);
IntLiteral(const std::string_view& value);
private:
// Yes numbers are stored as strings //
@@ -73,7 +73,7 @@ namespace LXC::AST
class VarAccess final : public NodeValue
{
public:
VarAccess(Identifier& name);
VarAccess(const Identifier& name);
private:
// The name of the variable //