File: var_desc.hh

package info (click to toggle)
jlint 3.0-4.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 776 kB
  • ctags: 662
  • sloc: cpp: 5,837; ansic: 1,496; makefile: 299; perl: 93; sh: 49
file content (29 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef VAR_DESC_HH
#define VAR_DESC_HH

#include "utf_string.hh"

class var_desc { 
public:
  utf_string     name;
  int            type;
  int            start_pc;
  
  int4           min;
  int4           max;
  int4           mask;

  enum object_var_state {
    vs_unknown  = 0x01, // state of variable is unknown
    vs_not_null = 0x03, // variable was checked for null
    vs_new      = 0x04  // variable points to object created by new
  };
  
  const field_desc* equals;

  var_desc() {
    equals = NULL;
  }
};

#endif