Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

cfg_token Struct Reference

Structure representing a lexical token. More...

#include <cfg_parser.h>


Data Fields

char buf [MAX_TOKEN_LEN]
int type
 Token type.
str val
 Token value.
struct {
   int   line
 The starting/ending line of the token.
   int   col
 The starting/ending column of the token.
start
struct {
   int   line
 The starting/ending line of the token.
   int   col
 The starting/ending column of the token.
end


Detailed Description

Structure representing a lexical token.

Definition at line 95 of file cfg_parser.h.


Field Documentation

char cfg_token::buf[MAX_TOKEN_LEN]
 

Definition at line 96 of file cfg_parser.h.

Referenced by cfg_get_token().

int cfg_token::col
 

The starting/ending column of the token.

Definition at line 101 of file cfg_parser.h.

Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), and print_token().

struct { ... } cfg_token::end
 

Referenced by print_token().

int cfg_token::line
 

The starting/ending line of the token.

Definition at line 100 of file cfg_parser.h.

Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), and print_token().

struct { ... } cfg_token::start
 

Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), and print_token().

int cfg_token::type
 

Token type.

Definition at line 97 of file cfg_parser.h.

Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_addr_port(), cfg_parse_bool(), cfg_parse_dummy(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), parse_switchboard_section(), and print_token().

str cfg_token::val
 

Token value.

Definition at line 98 of file cfg_parser.h.

Referenced by cfg_get_token(), cfg_parse(), cfg_parse_addr_port(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), parse_switchboard_section(), and print_token().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 7 04:16:36 2010 for SIPExpressRouter by  doxygen 1.3.9.1