OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::StandardLex Class Reference

#include <lex.hpp>

Inheritance diagram for openvpn::StandardLex:
[legend]
Collaboration diagram for openvpn::StandardLex:
[legend]

Public Member Functions

void put (char c)
 
bool available () const
 
int get () const
 
void reset ()
 
bool in_backslash () const
 
- Public Member Functions inherited from openvpn::LexQuoteMixin
bool in_quote () const
 Check if currently inside a quote.
 

Private Attributes

bool backslash_ = false
 
bool in_backslash_ = false
 
int ch = -1
 

Additional Inherited Members

- Protected Member Functions inherited from openvpn::LexQuoteMixin
bool handle_quote (char c)
 Handle a character as a potential quote.
 

Detailed Description

Definition at line 83 of file lex.hpp.

Member Function Documentation

◆ available()

bool openvpn::StandardLex::available ( ) const
inline

Definition at line 108 of file lex.hpp.

◆ get()

int openvpn::StandardLex::get ( ) const
inline

Definition at line 112 of file lex.hpp.

Here is the caller graph for this function:

◆ in_backslash()

bool openvpn::StandardLex::in_backslash ( ) const
inline

Definition at line 120 of file lex.hpp.

Here is the caller graph for this function:

◆ put()

void openvpn::StandardLex::put ( char  c)
inline

Definition at line 86 of file lex.hpp.

Here is the caller graph for this function:

◆ reset()

void openvpn::StandardLex::reset ( )
inline

Definition at line 116 of file lex.hpp.

Member Data Documentation

◆ backslash_

bool openvpn::StandardLex::backslash_ = false
private

Definition at line 126 of file lex.hpp.

◆ ch

int openvpn::StandardLex::ch = -1
private

Definition at line 128 of file lex.hpp.

◆ in_backslash_

bool openvpn::StandardLex::in_backslash_ = false
private

Definition at line 127 of file lex.hpp.


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