PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
parser_state Struct Reference

#include <indent_globs.h>

Data Fields

int last_token
 
int p_stack [256]
 
int il [64]
 
float cstk [32]
 
int box_com
 
int comment_delta
 
int n_comment_delta
 
int cast_mask
 
int not_cast_mask
 
int block_init
 
int block_init_level
 
int last_nl
 
int in_or_st
 
int bl_line
 
int col_1
 
int com_col
 
int com_ind
 
int com_lines
 
int dec_nest
 
int decl_com_ind
 
int decl_on_line
 
int i_l_follow
 
int in_decl
 
int in_stmt
 
int ind_level
 
int ind_size
 
int ind_stmt
 
int last_u_d
 
int leave_comma
 
int ljust_decl
 
int out_coms
 
int out_lines
 
int p_l_follow
 
int paren_level
 
short paren_indents [20]
 
int pcase
 
int search_brace
 
int unindent_displace
 
int use_ff
 
int want_blank
 
int else_if
 
int decl_indent
 
int local_decl_indent
 
int keyword
 
int dumped_decl_indent
 
float case_indent
 
int in_parameter_declaration
 
int indent_parameters
 
int tos
 
char procname [100]
 
int just_saw_decl
 

Detailed Description

Definition at line 233 of file indent_globs.h.

Field Documentation

◆ bl_line

int parser_state::bl_line

Definition at line 261 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ block_init

int parser_state::block_init

Definition at line 251 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ block_init_level

int parser_state::block_init_level

Definition at line 252 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ box_com

int parser_state::box_com

Definition at line 238 of file indent_globs.h.

Referenced by pr_comment().

◆ case_indent

float parser_state::case_indent

Definition at line 322 of file indent_globs.h.

Referenced by main(), parse(), set_defaults(), and set_option().

◆ cast_mask

int parser_state::cast_mask

Definition at line 247 of file indent_globs.h.

Referenced by main().

◆ col_1

int parser_state::col_1

Definition at line 262 of file indent_globs.h.

Referenced by pr_comment().

◆ com_col

int parser_state::com_col

Definition at line 264 of file indent_globs.h.

Referenced by dump_line(), and pr_comment().

◆ com_ind

int parser_state::com_ind

Definition at line 266 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ com_lines

int parser_state::com_lines

Definition at line 268 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ comment_delta

int parser_state::comment_delta

Definition at line 241 of file indent_globs.h.

Referenced by dump_line(), and pr_comment().

◆ cstk

float parser_state::cstk[32]

Definition at line 237 of file indent_globs.h.

Referenced by parse(), and reduce().

◆ dec_nest

int parser_state::dec_nest

Definition at line 270 of file indent_globs.h.

Referenced by main().

◆ decl_com_ind

int parser_state::decl_com_ind

Definition at line 271 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ decl_indent

int parser_state::decl_indent

Definition at line 318 of file indent_globs.h.

Referenced by main().

◆ decl_on_line

int parser_state::decl_on_line

Definition at line 273 of file indent_globs.h.

Referenced by dump_line(), main(), and pr_comment().

◆ dumped_decl_indent

int parser_state::dumped_decl_indent

Definition at line 321 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ else_if

int parser_state::else_if

Definition at line 316 of file indent_globs.h.

Referenced by main(), and parse().

◆ i_l_follow

int parser_state::i_l_follow

Definition at line 275 of file indent_globs.h.

Referenced by dump_line(), main(), parse(), and reduce().

◆ il

int parser_state::il[64]

Definition at line 236 of file indent_globs.h.

Referenced by main(), parse(), and reduce().

◆ in_decl

int parser_state::in_decl

Definition at line 277 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ in_or_st

int parser_state::in_or_st

Definition at line 256 of file indent_globs.h.

Referenced by main().

◆ in_parameter_declaration

int parser_state::in_parameter_declaration

Definition at line 324 of file indent_globs.h.

Referenced by main().

◆ in_stmt

int parser_state::in_stmt

Definition at line 280 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ ind_level

int parser_state::ind_level

◆ ind_size

int parser_state::ind_size

◆ ind_stmt

int parser_state::ind_stmt

Definition at line 283 of file indent_globs.h.

Referenced by compute_code_target(), dump_line(), and main().

◆ indent_parameters

int parser_state::indent_parameters

Definition at line 325 of file indent_globs.h.

Referenced by main().

◆ just_saw_decl

int parser_state::just_saw_decl

Definition at line 328 of file indent_globs.h.

Referenced by dump_line(), main(), and pr_comment().

◆ keyword

int parser_state::keyword

Definition at line 320 of file indent_globs.h.

Referenced by main().

◆ last_nl

int parser_state::last_nl

Definition at line 254 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ last_token

int parser_state::last_token

Definition at line 234 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ last_u_d

int parser_state::last_u_d

Definition at line 286 of file indent_globs.h.

Referenced by main().

◆ leave_comma

int parser_state::leave_comma

Definition at line 288 of file indent_globs.h.

Referenced by main().

◆ ljust_decl

int parser_state::ljust_decl

Definition at line 290 of file indent_globs.h.

Referenced by main(), and parse().

◆ local_decl_indent

int parser_state::local_decl_indent

Definition at line 319 of file indent_globs.h.

Referenced by main().

◆ n_comment_delta

int parser_state::n_comment_delta

Definition at line 243 of file indent_globs.h.

Referenced by dump_line(), and pr_comment().

◆ not_cast_mask

int parser_state::not_cast_mask

Definition at line 249 of file indent_globs.h.

Referenced by main().

◆ out_coms

int parser_state::out_coms

Definition at line 292 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ out_lines

int parser_state::out_lines

Definition at line 294 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ p_l_follow

int parser_state::p_l_follow

Definition at line 296 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ p_stack

int parser_state::p_stack[256]

Definition at line 235 of file indent_globs.h.

Referenced by main(), parse(), and reduce().

◆ paren_indents

short parser_state::paren_indents[20]

Definition at line 300 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ paren_level

int parser_state::paren_level

Definition at line 298 of file indent_globs.h.

Referenced by compute_code_target(), dump_line(), and main().

◆ pcase

int parser_state::pcase

Definition at line 301 of file indent_globs.h.

Referenced by compute_label_target(), dump_line(), and main().

◆ procname

char parser_state::procname[100]

Definition at line 327 of file indent_globs.h.

Referenced by dump_line(), and main().

◆ search_brace

int parser_state::search_brace

Definition at line 304 of file indent_globs.h.

Referenced by main(), and parse().

◆ tos

int parser_state::tos

Definition at line 326 of file indent_globs.h.

Referenced by main(), parse(), and reduce().

◆ unindent_displace

int parser_state::unindent_displace

Definition at line 307 of file indent_globs.h.

Referenced by main(), and pr_comment().

◆ use_ff

int parser_state::use_ff

Definition at line 311 of file indent_globs.h.

Referenced by dump_line(), main(), and pr_comment().

◆ want_blank

int parser_state::want_blank

Definition at line 313 of file indent_globs.h.

Referenced by indent_declaration(), and main().


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