1 /* This file is part of Shapes.
3 * Shapes is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
8 * Shapes is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with Shapes. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright 2008, 2009 Henrik Tidefelt
23 #include "Shapes_Lang_decls.h"
33 typedef RefCountPtr
< const Lang::Value
> ValueRef
;
36 typedef RefCountPtr
< Variable
> VariableHandle
;
39 typedef State
* StateHandle
;
42 typedef RefCountPtr
< Continuation
> ContRef
;
45 typedef Environment
* PassedEnv
;
46 typedef std::set
< Environment
* > GCMarkedSet
;
48 class DynamicEnvironment
;
49 typedef RefCountPtr
< DynamicEnvironment
> PassedDyn
;
51 class SystemDynamicVariables
;
52 typedef size_t DynamicEnvironmentKeyType
;
55 class PageContentStates
;
61 class EvaluatedFormals
;
63 class StoreVariableContinuation
;
64 class StmtStoreVariableContinuation
;
69 class CodeBracketContInfo
;
76 class WarmRandomDevice
;
78 class PolarHandlePromise
;
80 class TeXLabelManager
;
84 class MethodFactoryBase
;
88 void registerMutators( );
89 void registerGlobals( Kernel::Environment
* env
);
90 void registerDynamic( Kernel::Environment
* env
);
91 void registerHot( Kernel::Environment
* env
);
92 void registerClasses( Kernel::Environment
* env
);
94 void registerCore_elem( Kernel::Environment
* env
);
95 void registerCore_point( Kernel::Environment
* env
);
96 void registerCore_path( Kernel::Environment
* env
);
97 void registerCore_draw( Kernel::Environment
* env
);
98 void registerCore_construct( Kernel::Environment
* env
);
99 void registerCore_font( Kernel::Environment
* env
);
100 void registerCore_misc( Kernel::Environment
* env
);
101 void registerCore_state( Kernel::Environment
* env
);
102 void registerCore_annotation( Kernel::Environment
* env
);
103 void registerCore_decomp( Kernel::Environment
* env
);