aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r--libsolidity/ast/AST.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index e2117613..2522867b 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -136,8 +136,8 @@ public:
std::vector<ASTPointer<ASTNode>> nodes() const { return m_nodes; }
- /// @returns a vector of referenced SourceUnits.
- std::vector<SourceUnit const*> referencedSourceUnits() const;
+ /// @returns a set of referenced SourceUnits. Recursively if @a _recurse is true.
+ std::set<SourceUnit const*> referencedSourceUnits(bool _recurse = false) const;
private:
std::vector<ASTPointer<ASTNode>> m_nodes;