aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Parser.h
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-01 00:44:29 +0800
committerLianaHus <liana@ethdev.com>2015-09-08 19:12:00 +0800
commit1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4 (patch)
tree6ecb1323bec51a67a53d63bfd250f4ccfcee926c /libsolidity/Parser.h
parent6f4a39c183a905b8e07da59c17bfd25c2febbf7f (diff)
downloaddexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.tar.gz
dexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.tar.zst
dexon-solidity-1b5e6fc9e76ad3cf30e6e7bfc0e868dbb5267ff4.zip
renamed getter functions
Diffstat (limited to 'libsolidity/Parser.h')
-rw-r--r--libsolidity/Parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/Parser.h b/libsolidity/Parser.h
index d667aa3e..36302f74 100644
--- a/libsolidity/Parser.h
+++ b/libsolidity/Parser.h
@@ -37,15 +37,15 @@ public:
Parser() {}
ASTPointer<SourceUnit> parse(std::shared_ptr<Scanner> const& _scanner);
- std::shared_ptr<std::string const> const& getSourceName() const;
+ std::shared_ptr<std::string const> const& sourceName() const;
private:
class ASTNodeFactory;
/// Start position of the current token
- int getPosition() const;
+ int position() const;
/// End position of the current token
- int getEndPosition() const;
+ int endPosition() const;
struct VarDeclParserOptions
{