KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRC_RULE_BLOCK Struct Reference

A top-level block of the rules file, as byte span and token range. More...

#include <drc_rules_downgrade.h>

Public Attributes

size_t m_start = 0
 Byte offset of the opening parenthesis.
 
size_t m_end = 0
 Byte offset just past the closing parenthesis.
 
size_t m_first = 0
 Index of the opening parenthesis token.
 
size_t m_last = 0
 Index of the closing parenthesis token.
 
std::string m_head
 The word after the opening parenthesis, "rule" or "version".
 
wxString m_name
 The name after a "rule" head, for the report.
 

Detailed Description

A top-level block of the rules file, as byte span and token range.

Definition at line 84 of file drc_rules_downgrade.h.

Member Data Documentation

◆ m_end

size_t DRC_RULE_BLOCK::m_end = 0

Byte offset just past the closing parenthesis.

Definition at line 87 of file drc_rules_downgrade.h.

◆ m_first

size_t DRC_RULE_BLOCK::m_first = 0

Index of the opening parenthesis token.

Definition at line 88 of file drc_rules_downgrade.h.

Referenced by DrcRuleUnsupportedByTarget(), and SplitDrcRuleBlocks().

◆ m_head

std::string DRC_RULE_BLOCK::m_head

The word after the opening parenthesis, "rule" or "version".

Definition at line 90 of file drc_rules_downgrade.h.

Referenced by SplitDrcRuleBlocks().

◆ m_last

size_t DRC_RULE_BLOCK::m_last = 0

Index of the closing parenthesis token.

Definition at line 89 of file drc_rules_downgrade.h.

Referenced by DrcRuleUnsupportedByTarget().

◆ m_name

wxString DRC_RULE_BLOCK::m_name

The name after a "rule" head, for the report.

Definition at line 91 of file drc_rules_downgrade.h.

Referenced by SplitDrcRuleBlocks().

◆ m_start

size_t DRC_RULE_BLOCK::m_start = 0

Byte offset of the opening parenthesis.

Definition at line 86 of file drc_rules_downgrade.h.

Referenced by SplitDrcRuleBlocks().


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