Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes | Friends
parent_info Struct Reference

#include <tag_info.hpp>

List of all members.

Public Member Functions

 parent_info (int arity, int extra, int amode, int cmode, bool frozen=false)
 parent_info (tree t)
 ~parent_info ()
 operator tree ()
bool operator== (const parent_info &pi)
bool operator!= (const parent_info &pi)

Public Attributes

unsigned type: 5
unsigned arity_mode: 2
unsigned arity_base: 6
unsigned arity_extra: 4
unsigned child_mode: 2
unsigned border_mode: 2
unsigned block: 2
unsigned with_like: 1
unsigned freeze_type: 1
unsigned freeze_arity: 1
unsigned freeze_border: 1
unsigned freeze_block: 1
unsigned freeze_with: 1

Friends

tm_ostreamoperator<< (tm_ostream &out, parent_info pi)

Detailed Description

Definition at line 98 of file tag_info.hpp.


Constructor & Destructor Documentation

parent_info::parent_info ( int  arity,
int  extra,
int  amode,
int  cmode,
bool  frozen = false 
)

Definition at line 98 of file tag_info.cpp.

                                                                   {
  type             = TYPE_REGULAR;
  arity_mode       = am;
  arity_base       = a;
  arity_extra      = x;
  child_mode       = cm;
  border_mode      = BORDER_YES;
  block            = BLOCK_NO;
  with_like        = false;
  freeze_arity     = frozen;
  freeze_border    = frozen;
  freeze_block     = frozen;
  freeze_with      = frozen;
}

Definition at line 113 of file tag_info.cpp.

Here is the call graph for this function:

Definition at line 115 of file tag_info.hpp.

{}

Member Function Documentation

parent_info::operator tree ( )

Definition at line 130 of file tag_info.cpp.

Here is the call graph for this function:

bool parent_info::operator!= ( const parent_info pi)

Definition at line 166 of file tag_info.cpp.

                                               {
  return !(operator == (pi));
}

Here is the call graph for this function:

bool parent_info::operator== ( const parent_info pi)

Definition at line 149 of file tag_info.cpp.

                                               {
  return
    (type             == pi.type            ) &&
    (arity_mode       == pi.arity_mode      ) &&
    (arity_base       == pi.arity_base      ) &&
    (arity_extra      == pi.arity_extra     ) &&
    (child_mode       == pi.child_mode      ) &&
    (border_mode      == pi.border_mode     ) &&
    (block            == pi.block           ) &&
    (with_like        == pi.with_like       ) &&
    (freeze_arity     == pi.freeze_arity    ) &&
    (freeze_border    == pi.freeze_border   ) &&
    (freeze_block     == pi.freeze_block    ) &&
    (freeze_with      == pi.freeze_with     );
}

Here is the caller graph for this function:


Friends And Related Function Documentation

tm_ostream& operator<< ( tm_ostream out,
parent_info  pi 
) [friend]

Definition at line 171 of file tag_info.cpp.

                                              {
  return out << ((tree) pi);
}

Member Data Documentation

Definition at line 101 of file tag_info.hpp.

Definition at line 102 of file tag_info.hpp.

Definition at line 100 of file tag_info.hpp.

Definition at line 105 of file tag_info.hpp.

Definition at line 104 of file tag_info.hpp.

Definition at line 103 of file tag_info.hpp.

Definition at line 108 of file tag_info.hpp.

Definition at line 110 of file tag_info.hpp.

Definition at line 109 of file tag_info.hpp.

Definition at line 107 of file tag_info.hpp.

Definition at line 111 of file tag_info.hpp.

Definition at line 99 of file tag_info.hpp.

Definition at line 106 of file tag_info.hpp.


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