nsgenbind
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
ir_entry Struct Reference

#include <ir.h>

Public Attributes

const char * name
 
struct webidl_nodenode
 
const char * inherit_name
 
struct genbind_nodeclass
 
enum ir_entry_type type
 
union {
   struct ir_dictionary_entry   dictionary
 
   struct ir_interface_entry   interface
 
u
 
int inherit_idx
 
int refcount
 
char * filename
 
char * class_name
 
int class_init_argc
 
enum ir_init_argtypeclass_init_argt
 

Detailed Description

top level entry info common to interfaces and dictionaries

Definition at line 134 of file ir.h.

Member Data Documentation

◆ class

struct genbind_node* ir_entry::class

class from binding (if any)

Definition at line 138 of file ir.h.

◆ class_init_argc

int ir_entry::class_init_argc

The number of parameters on the class initializer.

Definition at line 165 of file ir.h.

◆ class_init_argt

enum ir_init_argtype* ir_entry::class_init_argt

The types of the initialiser parameters

Definition at line 168 of file ir.h.

◆ class_name

char* ir_entry::class_name

the interface name converted to output appropriate value. e.g. generators targetting c might lowercase the name or add underscores instead of caps

Definition at line 160 of file ir.h.

◆ dictionary

struct ir_dictionary_entry ir_entry::dictionary

Definition at line 142 of file ir.h.

◆ filename

char* ir_entry::filename

filename used for output

Definition at line 158 of file ir.h.

◆ inherit_idx

int ir_entry::inherit_idx

index into map of inherited interface or -1 for not in map

Definition at line 146 of file ir.h.

◆ inherit_name

const char* ir_entry::inherit_name

Name of interface inhertited from

Definition at line 137 of file ir.h.

◆ interface

struct ir_interface_entry ir_entry::interface

Definition at line 143 of file ir.h.

◆ name

const char* ir_entry::name

Definition at line 135 of file ir.h.

◆ node

struct webidl_node* ir_entry::node

IDL name AST node

Definition at line 136 of file ir.h.

◆ refcount

int ir_entry::refcount

number of interfacess in map that refer to this interface

Definition at line 149 of file ir.h.

◆ type

enum ir_entry_type ir_entry::type

Definition at line 140 of file ir.h.

◆ 

union { ... } ir_entry::u

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