Parser context.  
 More...
#include <fcml_parser.hpp>
Parser context. 
- Since
 - 1.1.0 
 
 
◆ ParserContext() [1/2]
  
  
      
        
          | fcml::ParserContext::ParserContext  | 
          ( | 
          fcml_ip  | 
          ip = 0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Creates a parser context instance for optional instruction pointer. 
- Parameters
 - 
  
    | ip | The instruction pointer.  | 
  
   
- Since
 - 1.1.0 
 
 
 
◆ ParserContext() [2/2]
Creates a parser context for given symbol table and optional instruction pointer. 
- Parameters
 - 
  
    | symbolTable | The symbol table.  | 
    | ip | The instruction pointer.  | 
  
   
- Since
 - 1.1.0 
 
 
 
◆ getConfig() [1/2]
  
  
      
        
          | const ParserConfig& fcml::ParserContext::getConfig  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the parser configuration associated with the context. 
- Returns
 - The parser configuration associated with the context. 
 
- Since
 - 1.1.0 
 
 
 
◆ getConfig() [2/2]
Gets the parser configuration associated with the context. 
- Returns
 - The parser configuration associated with the context. 
 
- Since
 - 1.1.0 
 
 
 
◆ getIp()
  
  
      
        
          | fcml_ip fcml::ParserContext::getIp  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the instruction pointer. 
- Returns
 - The instruction pointer. 
 
- Since
 - 1.1.0 
 
 
 
◆ getSymbolTable() [1/2]
  
  
      
        
          | const SymbolTable* fcml::ParserContext::getSymbolTable  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the symbol table associated with the context. 
- Returns
 - The symbol table. 
 
- Since
 - 1.1.0 
 
 
 
◆ getSymbolTable() [2/2]
Gets the symbol table associated with the context. 
- Returns
 - The symbol table. 
 
- Since
 - 1.1.0 
 
 
 
◆ incrementIP()
  
  
      
        
          | void fcml::ParserContext::incrementIP  | 
          ( | 
          fcml_ip  | 
          ip | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Increments instruction pointer by given number of bytes. 
- Parameters
 - 
  
    | ip | The number of bytes the instruction pointer has to be incremented by.  | 
  
   
- Since
 - 1.1.0 
 
 
 
◆ setIp()
  
  
      
        
          | void fcml::ParserContext::setIp  | 
          ( | 
          fcml_ip  | 
          ip | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Gets a new instruction pointer. 
- Parameters
 - 
  
    | ip | The new instruction pointer.  | 
  
   
- Since
 - 1.1.0 
 
 
 
◆ setSymbolTable()
  
  
      
        
          | void fcml::ParserContext::setSymbolTable  | 
          ( | 
          SymbolTable *  | 
          symbolTable | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Sets a symbol table for the instruction. 
- Parameters
 - 
  
    | symbolTable | The symbol table for the parser context.  | 
  
   
- Since
 - 1.1.0 
 
 
 
The documentation for this class was generated from the following file: