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

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)

Definition at line 26 of file aisc_var_ref.c.

References dot(), and NULp.

TokenMatcher::~TokenMatcher ( )

Definition at line 48 of file aisc_var_ref.c.

Member Function Documentation

bool TokenMatcher::matchesKeyOf ( const Token token) const

Definition at line 53 of file aisc_var_ref.c.

References Token::get_key().

Referenced by matches().

bool TokenMatcher::matchesValueOf ( const Token token) const

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

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: