Skip to content
Snippets Groups Projects
Commit 6257e56e authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Sentence id accessor

parent e4ac1036
Branches
No related merge requests found
......@@ -113,6 +113,11 @@ public:
return tokens_[0];
}
/// Identifier getter
const std::string id() const {
return id_;
}
protected:
/// The tokens this sentence contains and owns
std::vector<Token*> tokens_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment