1 //
2 // Copyright (c) 2006, Brian Frank and Andy Frank
3 // Licensed under the Academic Free License version 3.0
4 //
5 // History:
6 // 11 Sep 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
22 //////////////////////////////////////////////////////////////////////////
23 // Flags
24 //////////////////////////////////////////////////////////////////////////
25
26 const static Int Abstract := 0x00000001
27 const static Int Const := 0x00000002
28 const static Int Ctor := 0x00000004
29 const static Int Enum := 0x00000008
30 const static Int Final := 0x00000010
31 const static Int Getter := 0x00000020
32 const static Int Internal := 0x00000040
33 const static Int Mixin := 0x00000080
34 const static Int Native := 0x00000100
35 const static Int Override := 0x00000200
36 const static Int Private := 0x00000400
37 const static Int Protected := 0x00000800
38 const static Int Public := 0x00001000
39 const static Int Setter := 0x00002000
40 const static Int Static := 0x00004000
41 const static Int Storage := 0x00008000
42 const static Int Synthetic := 0x00010000
43 const static Int Virtual := 0x00020000
44 const static Int FlagsMask := 0x0003ffff
45
46 //////////////////////////////////////////////////////////////////////////
47 // MethodVarFlags
48 //////////////////////////////////////////////////////////////////////////
49
50 const static Int Param := 0x0001 // parameter or local variable
51
52 //////////////////////////////////////////////////////////////////////////
53 // Attributes
54 //////////////////////////////////////////////////////////////////////////
55
56 const static Str ErrTableAttr := "ErrTable"
57 const static Str FacetsAttr := "Facets"
58 const static Str LineNumberAttr := "LineNumber"
59 const static Str LineNumbersAttr := "LineNumbers"
60 const static Str SourceFileAttr := "SourceFile"
61 const static Str ParamDefaultAttr := "ParamDefault"
62
63 }
2 // Copyright (c) 2006, Brian Frank and Andy Frank
3 // Licensed under the Academic Free License version 3.0
4 //
5 // History:
6 // 11 Sep 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
22 //////////////////////////////////////////////////////////////////////////
23 // Flags
24 //////////////////////////////////////////////////////////////////////////
25
26 const static Int Abstract := 0x00000001
27 const static Int Const := 0x00000002
28 const static Int Ctor := 0x00000004
29 const static Int Enum := 0x00000008
30 const static Int Final := 0x00000010
31 const static Int Getter := 0x00000020
32 const static Int Internal := 0x00000040
33 const static Int Mixin := 0x00000080
34 const static Int Native := 0x00000100
35 const static Int Override := 0x00000200
36 const static Int Private := 0x00000400
37 const static Int Protected := 0x00000800
38 const static Int Public := 0x00001000
39 const static Int Setter := 0x00002000
40 const static Int Static := 0x00004000
41 const static Int Storage := 0x00008000
42 const static Int Synthetic := 0x00010000
43 const static Int Virtual := 0x00020000
44 const static Int FlagsMask := 0x0003ffff
45
46 //////////////////////////////////////////////////////////////////////////
47 // MethodVarFlags
48 //////////////////////////////////////////////////////////////////////////
49
50 const static Int Param := 0x0001 // parameter or local variable
51
52 //////////////////////////////////////////////////////////////////////////
53 // Attributes
54 //////////////////////////////////////////////////////////////////////////
55
56 const static Str ErrTableAttr := "ErrTable"
57 const static Str FacetsAttr := "Facets"
58 const static Str LineNumberAttr := "LineNumber"
59 const static Str LineNumbersAttr := "LineNumbers"
60 const static Str SourceFileAttr := "SourceFile"
61 const static Str ParamDefaultAttr := "ParamDefault"
62
63 }