The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
wfl::tokenizer::token Struct Reference

#include <tokenizer.hpp>

Public Member Functions

 token ()
 
 token (iterator &i1, iterator i2, token_type type)
 

Public Attributes

token_type type
 
iterator begin
 
iterator end
 
int line_number
 
const std::string * filename
 

Detailed Description

Definition at line 46 of file tokenizer.hpp.

Constructor & Destructor Documentation

◆ token() [1/2]

wfl::tokenizer::token::token ( )
inline

Definition at line 48 of file tokenizer.hpp.

References wfl::tokenizer::comment.

◆ token() [2/2]

wfl::tokenizer::token::token ( iterator i1,
iterator  i2,
token_type  type 
)
inline

Definition at line 57 of file tokenizer.hpp.

Member Data Documentation

◆ begin

iterator wfl::tokenizer::token::begin

◆ end

iterator wfl::tokenizer::token::end

◆ filename

const std::string* wfl::tokenizer::token::filename

◆ line_number

int wfl::tokenizer::token::line_number

◆ type

token_type wfl::tokenizer::token::type

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