KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pegtl/main.cpp File Reference
#include <pegtl.hpp>
#include <pegtl/contrib/analyze.hpp>
#include <pegtl/contrib/parse_tree.hpp>
#include <pegtl/contrib/parse_tree_to_dot.hpp>
#include <pegtl/contrib/trace.hpp>
#include <filesystem>
#include <iostream>

Go to the source code of this file.

Classes

struct  LINE_CONTINUATION
 Any text can span multiple lines using '&'. More...
 
struct  STR_SEGMENT_EXCLUDING< EXCLUSION_RULES >
 String segment( no line continuation ), with exclusion rules. More...
 
struct  STRING_EXCLUDING< EXCLUSION_RULES >
 String with optional line continuation and exclusion rules. More...
 
struct  spaced_ch< CHAR_TO_FIND >
 Control character with or without preceding whitespace. More...
 
struct  CURRENT_FORMAT_NUMBER
 
struct  FORMAT
 
struct  PART_NAME_FILTER
 
struct  PART_NUMBER_FILTER
 
struct  PART_VERSION_FILTER
 
struct  PART_NAME
 
struct  PART_NUMBER
 
struct  PART_VERSION
 
struct  PART_DESCRIPTION
 
struct  PART
 
struct  UNMATCHED_CONTENT
 
struct  GRAMMAR
 
struct  SIMPLE_SELECTOR< PEGTL_RULE >
 
struct  SIMPLE_SELECTOR< STR_SEGMENT_EXCLUDING< PART_NAME_FILTER > >
 
struct  SIMPLE_SELECTOR< STR_SEGMENT_EXCLUDING< PART_NUMBER_FILTER > >
 
struct  SIMPLE_SELECTOR< STR_SEGMENT_EXCLUDING< PART_VERSION_FILTER > >
 
struct  SIMPLE_SELECTOR< STR_SEGMENT_EXCLUDING<> >
 
struct  SIMPLE_SELECTOR< CURRENT_FORMAT_NUMBER >
 
struct  SIMPLE_SELECTOR< FORMAT >
 
struct  SIMPLE_SELECTOR< PART >
 
struct  SIMPLE_SELECTOR< PART_NAME >
 
struct  SIMPLE_SELECTOR< PART_NUMBER >
 
struct  SIMPLE_SELECTOR< PART_VERSION >
 
struct  SIMPLE_SELECTOR< PART_DESCRIPTION >
 
struct  SIMPLE_SELECTOR< UNMATCHED_CONTENT >
 
struct  FOLD_CONTENT
 

Typedefs

template<typename PEGTL_RULE >
using COMPLEX_SELECTOR = parse_tree::selector< PEGTL_RULE, parse_tree::store_content::on< STR_SEGMENT_EXCLUDING< PART_NAME_FILTER >, STR_SEGMENT_EXCLUDING< PART_NUMBER_FILTER >, STR_SEGMENT_EXCLUDING< PART_VERSION_FILTER >, STR_SEGMENT_EXCLUDING<>, CURRENT_FORMAT_NUMBER, UNMATCHED_CONTENT >, parse_tree::remove_content::on< FORMAT, PART >, parse_tree::apply< FOLD_CONTENT >::on< PART_NAME, PART_NUMBER, PART_VERSION, PART_DESCRIPTION > >
 

Functions

int main (int argc, char **argv)
 

Typedef Documentation

◆ COMPLEX_SELECTOR

template<typename PEGTL_RULE >
using COMPLEX_SELECTOR = parse_tree::selector< PEGTL_RULE, parse_tree::store_content::on< STR_SEGMENT_EXCLUDING< PART_NAME_FILTER >, STR_SEGMENT_EXCLUDING< PART_NUMBER_FILTER >, STR_SEGMENT_EXCLUDING< PART_VERSION_FILTER >, STR_SEGMENT_EXCLUDING<>, CURRENT_FORMAT_NUMBER, UNMATCHED_CONTENT >, parse_tree::remove_content::on< FORMAT, PART >, parse_tree::apply< FOLD_CONTENT >::on< PART_NAME, PART_NUMBER, PART_VERSION, PART_DESCRIPTION > >

Definition at line 139 of file pegtl/main.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 162 of file pegtl/main.cpp.