Back to index

tetex-bin  3.0
Public Types | Public Attributes
expression Struct Reference

#include <plural-exp.h>

List of all members.

Public Types

enum  operator {
  var, num, lnot, mult,
  divide, module, plus, minus,
  less_than, greater_than, less_or_equal, greater_or_equal,
  equal, not_equal, land, lor,
  qmop
}

Public Attributes

int nargs
enum expression::operator operation
union expression.val val

Detailed Description

Definition at line 34 of file plural-exp.h.


Member Enumeration Documentation

Enumerator:
var 
num 
lnot 
mult 
divide 
module 
plus 
minus 
less_than 
greater_than 
less_or_equal 
greater_or_equal 
equal 
not_equal 
land 
lor 
qmop 

Definition at line 37 of file plural-exp.h.

  {
    /* Without arguments:  */
    var,                    /* The variable "n".  */
    num,                    /* Decimal number.  */
    /* Unary operators:  */
    lnot,                   /* Logical NOT.  */
    /* Binary operators:  */
    mult,                   /* Multiplication.  */
    divide,                 /* Division.  */
    module,                 /* Modulo operation.  */
    plus,                   /* Addition.  */
    minus,                  /* Subtraction.  */
    less_than,                     /* Comparison.  */
    greater_than,           /* Comparison.  */
    less_or_equal,          /* Comparison.  */
    greater_or_equal,              /* Comparison.  */
    equal,                  /* Comparison for equality.  */
    not_equal,                     /* Comparison for inequality.  */
    land,                   /* Logical AND.  */
    lor,                    /* Logical OR.  */
    /* Ternary operators:  */
    qmop                    /* Question mark operator.  */
  } operation;

Member Data Documentation

Definition at line 36 of file plural-exp.h.

union { ... } expression::val

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