logo

mixin

compiler::FConst

sys::Obj
  compiler::FConst
  1  //
  2  // Copyright (c) 2006, Brian Frank and Andy Frank
  3  // Licensed under the Academic Free License version 3.0
  4  //
  5  // History:
  6  //   29 Dec 07  Auto-generated by /adm/genfcode.rb
  7  //
  8  
  9  **
 10  ** FConst provides all the fcode constants
 11  **
 12  mixin FConst
 13  {
 14  
 15  //////////////////////////////////////////////////////////////////////////
 16  // Stuff
 17  //////////////////////////////////////////////////////////////////////////
 18  
 19    const static Int FCodeMagic    := 0x0FC0DE05
 20    const static Int FCodeVersion  := 0x01000016
 21    const static Int TypeDbMagic   := 0x0FC0DEDB
 22    const static Int TypeDbVersion := 0x01000018
 23  
 24  //////////////////////////////////////////////////////////////////////////
 25  // Flags
 26  //////////////////////////////////////////////////////////////////////////
 27  
 28    const static Int Abstract   := 0x00000001
 29    const static Int Const      := 0x00000002
 30    const static Int Ctor       := 0x00000004
 31    const static Int Enum       := 0x00000008
 32    const static Int Final      := 0x00000010
 33    const static Int Getter     := 0x00000020
 34    const static Int Internal   := 0x00000040
 35    const static Int Mixin      := 0x00000080
 36    const static Int Native     := 0x00000100
 37    const static Int Override   := 0x00000200
 38    const static Int Private    := 0x00000400
 39    const static Int Protected  := 0x00000800
 40    const static Int Public     := 0x00001000
 41    const static Int Setter     := 0x00002000
 42    const static Int Static     := 0x00004000
 43    const static Int Storage    := 0x00008000
 44    const static Int Synthetic  := 0x00010000
 45    const static Int Virtual    := 0x00020000
 46    const static Int FlagsMask  := 0x0003ffff
 47  
 48  //////////////////////////////////////////////////////////////////////////
 49  // MethodVarFlags
 50  //////////////////////////////////////////////////////////////////////////
 51  
 52    const static Int Param := 0x0001  // parameter or local variable
 53  
 54  //////////////////////////////////////////////////////////////////////////
 55  // Attributes
 56  //////////////////////////////////////////////////////////////////////////
 57  
 58    const static Str ErrTableAttr     := "ErrTable"
 59    const static Str FacetsAttr       := "Facets"
 60    const static Str LineNumberAttr   := "LineNumber"
 61    const static Str LineNumbersAttr  := "LineNumbers"
 62    const static Str SourceFileAttr   := "SourceFile"
 63    const static Str ParamDefaultAttr := "ParamDefault"
 64  
 65  }