KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALTIUM_RULE_TOKENIZER Class Reference

#include <altium_rule_transformer.h>

Public Member Functions

 ALTIUM_RULE_TOKENIZER (const wxString &aExpr)
 
const ALTIUM_RULE_TOKENNext ()
 
const ALTIUM_RULE_TOKENPeek () const
 

Private Member Functions

wxUniChar curChar ()
 
wxUniChar nextChar ()
 

Private Attributes

size_t m_pos
 
const wxString m_expr
 
wxString::const_iterator m_it
 
ALTIUM_RULE_TOKEN m_currentToken
 
ALTIUM_RULE_TOKEN m_nextToken
 

Detailed Description

Definition at line 109 of file altium_rule_transformer.h.

Constructor & Destructor Documentation

◆ ALTIUM_RULE_TOKENIZER()

ALTIUM_RULE_TOKENIZER::ALTIUM_RULE_TOKENIZER ( const wxString &  aExpr)
inline

Definition at line 112 of file altium_rule_transformer.h.

References m_expr, m_it, and Next().

Member Function Documentation

◆ curChar()

wxUniChar ALTIUM_RULE_TOKENIZER::curChar ( )
inlineprivate

Definition at line 123 of file altium_rule_transformer.h.

References m_it.

Referenced by Next().

◆ Next()

const ALTIUM_RULE_TOKEN & ALTIUM_RULE_TOKENIZER::Next ( )

◆ nextChar()

wxUniChar ALTIUM_RULE_TOKENIZER::nextChar ( )
inlineprivate

Definition at line 125 of file altium_rule_transformer.h.

References m_expr, m_it, and m_pos.

Referenced by Next().

◆ Peek()

const ALTIUM_RULE_TOKEN & ALTIUM_RULE_TOKENIZER::Peek ( ) const

Definition at line 217 of file altium_rule_transformer.cpp.

References m_nextToken.

Referenced by BOOST_AUTO_TEST_CASE().

Member Data Documentation

◆ m_currentToken

ALTIUM_RULE_TOKEN ALTIUM_RULE_TOKENIZER::m_currentToken
private

Definition at line 143 of file altium_rule_transformer.h.

Referenced by Next().

◆ m_expr

const wxString ALTIUM_RULE_TOKENIZER::m_expr
private

Definition at line 140 of file altium_rule_transformer.h.

Referenced by ALTIUM_RULE_TOKENIZER(), Next(), and nextChar().

◆ m_it

wxString::const_iterator ALTIUM_RULE_TOKENIZER::m_it
private

Definition at line 141 of file altium_rule_transformer.h.

Referenced by ALTIUM_RULE_TOKENIZER(), curChar(), Next(), and nextChar().

◆ m_nextToken

ALTIUM_RULE_TOKEN ALTIUM_RULE_TOKENIZER::m_nextToken
private

Definition at line 144 of file altium_rule_transformer.h.

Referenced by Next(), and Peek().

◆ m_pos

size_t ALTIUM_RULE_TOKENIZER::m_pos
private

Definition at line 139 of file altium_rule_transformer.h.

Referenced by Next(), and nextChar().


The documentation for this class was generated from the following files: