Public Member Functions | Static Public Member Functions | Public Attributes

c_oper_desc Struct Reference

Used for table of precedence of operators. More...

#include <c_oper_desc.h>

Collaboration diagram for c_oper_desc:

List of all members.

Public Member Functions

 c_oper_desc (int precedence_, const char *oper_, e_assoc associativity_, e_oper_type type_)
void assign_oper_len ()
 Initializes length.
MY_FORCE_INLINE e_assoc get_assoc () const
MY_FORCE_INLINE size_t get_len () const
MY_FORCE_INLINE int get_prec () const
MY_FORCE_INLINE e_oper_type get_type () const

Static Public Member Functions

static e_assoc get_assoc_from_precedece (int prec)
static int get_max_prec ()

Public Attributes

const e_assoc associativity
 Associativity.
const char * oper
 Operator as text.
size_t oper_len
 Lexical length of operator.
const int precedence
 Numeric precedence.
const e_oper_type type
 Type of operator.

Detailed Description

Used for table of precedence of operators.

Author:
VooDooMan
Version:
1
Date:
2005

Definition at line 88 of file c_oper_desc.h.


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

Generated on Sat Aug 7 2010 15:33:56 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads