Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::jit::script::Lexer Struct Reference

Public Member Functions

 Lexer (const std::string &str)
 
Token next ()
 
bool nextIf (int kind)
 
void reportError (const std::string &what)
 
void reportError (const std::string &what, const Token &t)
 
void expected (const std::string &what, const Token &t)
 
void expected (const std::string &what)
 
Token expect (int kind)
 
Tokenlookahead ()
 
Tokencur ()
 

Detailed Description

Definition at line 377 of file lexer.h.


The documentation for this struct was generated from the following file: