aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/AST.h')
-rw-r--r--libsolidity/AST.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/AST.h b/libsolidity/AST.h
index 1d2babbe..075c1ff5 100644
--- a/libsolidity/AST.h
+++ b/libsolidity/AST.h
@@ -712,17 +712,17 @@ private:
class UserDefinedTypeName: public TypeName
{
public:
- UserDefinedTypeName(SourceLocation const& _location, ASTPointer<ASTString> const& _name):
- TypeName(_location), m_name(_name) {}
+ UserDefinedTypeName(SourceLocation const& _location, std::vector<ASTString> const& _namePath):
+ TypeName(_location), m_namePath(_namePath) {}
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
- ASTString const& name() const { return *m_name; }
+ std::vector<ASTString> const& namePath() const { return m_namePath; }
virtual UserDefinedTypeNameAnnotation& annotation() const override;
private:
- ASTPointer<ASTString> m_name;
+ std::vector<ASTString> m_namePath;
};
/**