aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/AST.h b/AST.h
index 32cc23a5..8493d432 100644
--- a/AST.h
+++ b/AST.h
@@ -277,11 +277,10 @@ 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();
+ /// @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() const;
private:
bool m_isPublic;