Searched refs:Lexer (Results 1 - 14 of 14) sorted by relevance
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | lexer.cpp | 23 Lexer::Lexer() : lineno_(0), lineLoc_(0) {} in Lexer() function in Lexer 25 std::map<std::string, TokenType> Lexer::keyWords_ = { 32 bool Lexer::Initialize(const std::string &sourceName) in Initialize() 51 bool Lexer::SetTokenCharacter(char c, Token &token) in SetTokenCharacter() 82 bool Lexer::Lex(Token &token) in Lex() 116 char Lexer::GetRawChar() in GetRawChar() 125 bool Lexer::GetChar(char &c, bool skipSpace) in GetChar() 142 bool Lexer::PeekChar(char &c, bool skipSpace) in PeekChar() 166 bool Lexer [all...] |
H A D | lexer.h | 21 class Lexer { class 23 Lexer(); 25 ~Lexer() = default; 33 friend std::ostream &operator<<(std::ostream &stream, const Lexer &p); 83 std::ostream &operator<<(std::ostream &stream, const Lexer &p);
|
H A D | parser.h | 61 Lexer lexer_;
|
/drivers/hdf_core/framework/tools/hdi-gen/lexer/ |
H A D | lexer.cpp | 16 Lexer::StrTokenTypeMap Lexer::keyWords_ = {
51 Lexer::StrTokenTypeMap Lexer::symbols_ = {
80 Lexer::Lexer() : filePath_(), file_(nullptr), mode_(ParseMode::DECL_MODE), havePeek_(false), curToken_() {}
in Lexer() function in OHOS::HDI::Lexer 82 bool Lexer::Reset(const std::string &filePath)
in Reset() 94 Token Lexer::PeekToken(bool skipComment)
in PeekToken() 103 Token Lexer::GetToken(bool skipComment)
in GetToken() 112 void Lexer [all...] |
H A D | lexer.h | 22 class Lexer {
class 29 Lexer();
31 ~Lexer() = default;
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | lexer.js | 62 class Lexer { 74 if (!(sourceName in Lexer.FILE_AND_DATA)) { 78 this.data_ = Lexer.FILE_AND_DATA[sourceName]; 81 NapiLog.logError(Lexer.FILE_AND_DATA[sourceName]); 409 Lexer.FILE_AND_DATA = {}; 412 Lexer,
|
H A D | parser.js | 17 const { Lexer, TokenType, code } = require('./lexer'); 34 this.lexer_ = new Lexer();
|
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/ |
H A D | preprocessor.h | 54 static bool ParsePackage(Lexer &lexer, FileDetail &info);
56 static bool ParseImports(Lexer &lexer, FileDetail &info);
|
H A D | preprocessor.cpp | 123 Lexer lexer;
in ParseFileDetail() 148 bool Preprocessor::ParsePackage(Lexer &lexer, FileDetail &info)
in ParsePackage() 180 bool Preprocessor::ParseImports(Lexer &lexer, FileDetail &info)
in ParseImports()
|
/drivers/hdf_core/framework/tools/hc-gen/ |
H A D | hcs_build_info.py | 54 class Lexer(object): class 216 lex = Lexer(cur_hcs_file_path)
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
H A D | parser.h | 248 Lexer lexer_;
|
H A D | parser.cpp | 1367 lexer_.SetParseMode(Lexer::ParseMode::EXPR_MODE);
in ParseExpr() 1369 lexer_.SetParseMode(Lexer::ParseMode::DECL_MODE);
in ParseExpr()
|
/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | build_hdi_files_info.py | 59 class Lexer(object): class 328 lex = Lexer(file_path) 361 lex = Lexer(file_path)
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | MainEditor.js | 17 const { Lexer } = require('./hcs/lexer');
1641 Lexer.FILE_AND_DATA[this.filePoint_] = h.data;
1833 Lexer.FILE_AND_DATA[pme.filePoint_] = data2;
1882 Lexer.FILE_AND_DATA[data.fn] = data.data;
1886 Lexer.FILE_AND_DATA[data.fn] = data.data;
|
Completed in 10 milliseconds