Loading...
Searching...
No Matches
ledger::symbol_t Struct Reference

#include <scope.h>

Public Types

enum  kind_t {
  UNKNOWN , FUNCTION , OPTION , PRECOMMAND ,
  COMMAND , DIRECTIVE , FORMAT
}

Public Member Functions

bool operator< (const symbol_t &sym) const
bool operator== (const symbol_t &sym) const
 symbol_t ()
 symbol_t (const symbol_t &sym)
 symbol_t (kind_t _kind, string _name, expr_t::ptr_op_t _definition=NULL)
 ~symbol_t () throw ()

Public Attributes

expr_t::ptr_op_t definition
kind_t kind
string name

Detailed Description

Definition at line 48 of file scope.h.

Member Enumeration Documentation

◆ kind_t

Enumerator
UNKNOWN 
FUNCTION 
OPTION 
PRECOMMAND 
COMMAND 
DIRECTIVE 
FORMAT 

Definition at line 50 of file scope.h.

Constructor & Destructor Documentation

◆ symbol_t() [1/3]

ledger::symbol_t::symbol_t ( )
inline

Definition at line 64 of file scope.h.

References definition, kind, name, symbol_t(), TRACE_CTOR, and UNKNOWN.

Referenced by operator<(), operator==(), symbol_t(), symbol_t(), symbol_t(), and ~symbol_t().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ symbol_t() [2/3]

ledger::symbol_t::symbol_t ( kind_t _kind,
string _name,
expr_t::ptr_op_t _definition = NULL )
inline

Definition at line 67 of file scope.h.

References definition, kind, name, symbol_t(), and TRACE_CTOR.

Here is the call graph for this function:

◆ symbol_t() [3/3]

ledger::symbol_t::symbol_t ( const symbol_t & sym)
inline

Definition at line 71 of file scope.h.

References definition, kind, name, symbol_t(), and TRACE_CTOR.

Here is the call graph for this function:

◆ ~symbol_t()

ledger::symbol_t::~symbol_t ( )
throw ( )
inline

Definition at line 75 of file scope.h.

References symbol_t(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ operator<()

bool ledger::symbol_t::operator< ( const symbol_t & sym) const
inline

Definition at line 79 of file scope.h.

References kind, name, and symbol_t().

Here is the call graph for this function:

◆ operator==()

bool ledger::symbol_t::operator== ( const symbol_t & sym) const
inline

Definition at line 82 of file scope.h.

References kind, name, and symbol_t().

Here is the call graph for this function:

Member Data Documentation

◆ definition

expr_t::ptr_op_t ledger::symbol_t::definition

Definition at line 62 of file scope.h.

Referenced by symbol_t(), symbol_t(), and symbol_t().

◆ kind

kind_t ledger::symbol_t::kind

Definition at line 60 of file scope.h.

Referenced by operator<(), operator==(), symbol_t(), symbol_t(), and symbol_t().

◆ name

string ledger::symbol_t::name

Definition at line 61 of file scope.h.

Referenced by operator<(), operator==(), symbol_t(), symbol_t(), and symbol_t().


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