diff options
author | Gav Wood <i@gavwood.com> | 2015-02-04 04:25:08 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-02-04 04:25:08 +0800 |
commit | 2ff4a80b6266a6bcd22ef6cbb654f90fc84f9276 (patch) | |
tree | 5a69a85a19d619453fa4283a78a47e64051ed0c9 /AST.h | |
parent | 04164b612c61ea2ea5c18f56600f95f03ded7235 (diff) | |
download | dexon-solidity-2ff4a80b6266a6bcd22ef6cbb654f90fc84f9276.tar.gz dexon-solidity-2ff4a80b6266a6bcd22ef6cbb654f90fc84f9276.tar.zst dexon-solidity-2ff4a80b6266a6bcd22ef6cbb654f90fc84f9276.zip |
Fixes for named-args.
Diffstat (limited to 'AST.h')
-rwxr-xr-x | AST.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -963,7 +963,7 @@ class FunctionCall: public Expression { public: FunctionCall(Location const& _location, ASTPointer<Expression> const& _expression, - std::vector<ASTPointer<Expression>> const& _arguments, std::vector<std::string> const& _names): + std::vector<ASTPointer<Expression>> const& _arguments, std::vector<ASTPointer<ASTString>> const& _names): Expression(_location), m_expression(_expression), m_arguments(_arguments), m_names(_names) {} virtual void accept(ASTVisitor& _visitor) override; virtual void accept(ASTConstVisitor& _visitor) const override; @@ -971,7 +971,7 @@ public: Expression const& getExpression() const { return *m_expression; } std::vector<ASTPointer<Expression const>> getArguments() const { return {m_arguments.begin(), m_arguments.end()}; } - std::vector<std::string> const& getNames() const { return m_names; } + std::vector<ASTPointer<ASTString>> const& getNames() const { return m_names; } /// Returns true if this is not an actual function call, but an explicit type conversion /// or constructor call. @@ -980,7 +980,7 @@ public: private: ASTPointer<Expression> m_expression; std::vector<ASTPointer<Expression>> m_arguments; - std::vector<std::string> m_names; + std::vector<ASTPointer<ASTString>> m_names; }; /** |