aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-07 17:45:59 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-07 17:45:59 +0800
commitdf0dce584d2d1aacf3d33658b0540f243b3adb81 (patch)
tree3c5835c1a4337d20fbdd44fdaf80eebc59796398 /AST.h
parent24d7bdd3a9b9014e1e58dbe44f501fbfdec564c5 (diff)
downloaddexon-solidity-df0dce584d2d1aacf3d33658b0540f243b3adb81.tar.gz
dexon-solidity-df0dce584d2d1aacf3d33658b0540f243b3adb81.tar.zst
dexon-solidity-df0dce584d2d1aacf3d33658b0540f243b3adb81.zip
Small issues with Canonical Function Signature
- Also added an extra test
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;