Skip to content
Snippets Groups Projects
Commit f7917760 authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

lexeme replacing func in Token

parent 495d5460
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,11 @@ public:
lexemes_.push_back(lex);
}
/// Replaces all the lexemes with the given vector
void replace_lexemes(const std::vector<Lexeme>& new_lexemes) {
lexemes_ = new_lexemes;
}
/**
* Get the 'best' lexeme available, with best meaning disambiguated if
* possible, and when there is more than one candidate, some form of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment