aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/AST.h b/AST.h
index b7c3dc6c..32cc23a5 100644
--- a/AST.h
+++ b/AST.h
@@ -277,6 +277,12 @@ public:
/// Checks that all parameters have allowed types and calls checkTypeRequirements on the body.
void checkTypeRequirements();
+ /// Returns the canonical signature of the function
+ /// That consists of the name of the function followed by the
+ /// types of the arguments separated by commas all enclosed in parentheses
+ /// without any spaces
+ std::string getCanonicalSignature();
+
private:
bool m_isPublic;
ASTPointer<ParameterList> m_parameters;