~zorba-coders/zorba/f-nosql-db-trunk

« back to all changes in this revision

Viewing changes to src/compiler/expression/expr_base.h

  • Committer: Zorba Build Bot
  • Author(s): markos_za at yahoo
  • Date: 2012-10-02 19:58:22 UTC
  • mfrom: (11069.1.6 no-copy)
  • Revision ID: chillery+buildbot@lambda.nu-20121002195822-f91hnjl0odzlcmrn
Replaced markForSerialization() method with theIsInUnsafeContext data member. Approved: Markos Zaharioudakis

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    UNFOLDABLE              = 10,
148
148
    CONTAINS_RECURSIVE_CALL = 12,
149
149
    PROPAGATES_INPUT_NODES  = 14,
150
 
    WILL_BE_SERIALIZED      = 16,
151
 
    MUST_COPY_NODES         = 18,
152
 
    CONTAINS_PRAGMA         = 20
 
150
    MUST_COPY_NODES         = 16,
 
151
    CONTAINS_PRAGMA         = 18
153
152
  } Annotationkey;
154
153
 
155
154
  typedef enum
162
161
    UNFOLDABLE_MASK               = 0xC00,
163
162
    CONTAINS_RECURSIVE_CALL_MASK  = 0x3000,
164
163
    PROPAGATES_INPUT_NODES_MASK   = 0xC000,
165
 
    WILL_BE_SERIALIZED_MASK       = 0x30000,
166
 
    MUST_COPY_NODES_MASK          = 0xC0000,
167
 
    CONTAINS_PRAGMA_MASK          = 0x300000
 
164
    MUST_COPY_NODES_MASK          = 0x30000,
 
165
    CONTAINS_PRAGMA_MASK          = 0xC0000
168
166
  } AnnotationMask;
169
167
 
170
168
 
315
313
 
316
314
  void setMustCopyNodes(BoolAnnotationValue v);
317
315
 
318
 
  // Annotation : willBeSerialized
319
 
  BoolAnnotationValue getWillBeSerialized() const;
320
 
 
321
 
  void setWillBeSerialized(BoolAnnotationValue v);
322
 
 
323
 
  bool willBeSerialized() const;
324
 
 
325
316
  // Annotation : containsPragma
326
317
  BoolAnnotationValue getContainsPragma() const;
327
318