libtld 2.0.14
A library to determine the Top-Level Domain name of any Internet URI.
Public Types | Public Member Functions | Private Attributes | List of all members
tld_compiler::token Class Reference

Public Types

typedef std::vector< tokenvector_t
 

Public Member Functions

 token (std::string const &filename, int line, token_t token, std::string const &value)
 
std::string const & get_filename () const
 
int get_line () const
 
token_t get_token () const
 
std::string const & get_value () const
 

Private Attributes

std::string const f_filename
 
int const f_line = 0
 
token_t const f_token = TOKEN_EOF
 
std::string const f_value = std::string()
 

Detailed Description

Definition at line 251 of file tld_compiler.h.

Member Typedef Documentation

◆ vector_t

typedef std::vector<token> tld_compiler::token::vector_t

Definition at line 254 of file tld_compiler.h.

Constructor & Destructor Documentation

◆ token()

tld_compiler::token::token ( std::string const &  filename,
int  line,
token_t  token,
std::string const &  value 
)

Definition at line 1210 of file tld_compiler.cpp.

Member Function Documentation

◆ get_filename()

std::string const & tld_compiler::token::get_filename ( ) const

Definition at line 1223 of file tld_compiler.cpp.

◆ get_line()

int tld_compiler::token::get_line ( ) const

Definition at line 1236 of file tld_compiler.cpp.

◆ get_token()

tld_compiler::token_t tld_compiler::token::get_token ( ) const

Definition at line 1242 of file tld_compiler.cpp.

◆ get_value()

std::string const & tld_compiler::token::get_value ( ) const

Definition at line 1248 of file tld_compiler.cpp.

Member Data Documentation

◆ f_filename

std::string const tld_compiler::token::f_filename
private

Definition at line 267 of file tld_compiler.h.

◆ f_line

int const tld_compiler::token::f_line = 0
private

Definition at line 268 of file tld_compiler.h.

◆ f_token

token_t const tld_compiler::token::f_token = TOKEN_EOF
private

Definition at line 269 of file tld_compiler.h.

◆ f_value

std::string const tld_compiler::token::f_value = std::string()
private

Definition at line 270 of file tld_compiler.h.


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

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.