ARB
Public Member Functions | List of all members
TokenMatcher Class Reference
Inheritance diagram for TokenMatcher:
Inheritance graph
[legend]
Collaboration diagram for TokenMatcher:
Collaboration graph
[legend]

Public Member Functions

 TokenMatcher (const char *search_expr)
 
 ~TokenMatcher ()
 
bool matchesKeyOf (const Token *token) const
 
bool matchesValueOf (const Token *token) const
 
bool matches (const Token *token) const
 

Detailed Description

Definition at line 16 of file aisc_var_ref.c.

Constructor & Destructor Documentation

TokenMatcher::TokenMatcher ( const char search_expr)
inline

Definition at line 26 of file aisc_var_ref.c.

References dot(), and NULp.

TokenMatcher::~TokenMatcher ( )
inline

Definition at line 48 of file aisc_var_ref.c.

Member Function Documentation

bool TokenMatcher::matchesKeyOf ( const Token token) const
inline

Definition at line 53 of file aisc_var_ref.c.

References Token::get_key().

Referenced by matches().

bool TokenMatcher::matchesValueOf ( const Token token) const
inline

Definition at line 56 of file aisc_var_ref.c.

References Token::get_value(), and Token::is_block().

Referenced by matches().

bool TokenMatcher::matches ( const Token token) const
inline

Definition at line 59 of file aisc_var_ref.c.

References matchesKeyOf(), and matchesValueOf().

Referenced by nextTokenMatching().


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