Added ParseFunctionCall
This commit is contained in:
@@ -10,7 +10,7 @@ namespace LXC::AST
|
||||
class FunctionCall final : public NodeValue
|
||||
{
|
||||
public:
|
||||
FunctionCall(Identifier& functionName, ValueList& arguments);
|
||||
FunctionCall(const Identifier& functionName, ValueList& arguments);
|
||||
|
||||
private:
|
||||
// The name of the function //
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
namespace LXC::AST
|
||||
{
|
||||
FunctionCall::FunctionCall (Identifier& functionName, ValueList& arguments)
|
||||
: NodeValue(NodeType::FunctionCall), m_FuncName(std::move(functionName)), m_Arguments(std::move(arguments))
|
||||
FunctionCall::FunctionCall (const Identifier& functionName, ValueList& arguments)
|
||||
: NodeValue(NodeType::FunctionCall), m_FuncName(functionName), m_Arguments(std::move(arguments))
|
||||
{}
|
||||
|
||||
IntLiteral::IntLiteral(const std::string_view& value)
|
||||
|
||||
Reference in New Issue
Block a user