252
253 public void comment( Comment comment )
254 {
255 _comment = comment;
256 }
257
258 public boolean isReferencable()
259 {
260 return _isReferencable ;
261 }
262
263 public void isReferencable( boolean value )
264 {
265 _isReferencable = value ;
266 }
267
268 static Stack includeStack = new Stack ();
269
270 static void enteringInclude ()
271 {
272 includeStack.push (new Boolean (setEmit));
273 setEmit = false;
274 } // enteringInclude
275
276 static void exitingInclude ()
277 {
278 setEmit = ((Boolean)includeStack.pop ()).booleanValue ();
279 } // exitingInclude
280
281 /** Other variables besides the default ones can be dynamically placed
282 into SymTabEntry (and therefore on all symbol table entries) by
283 extenders. Before such a variable can exist, its key must be
284 obtained by calling getVariableKey. */
285 public static int getVariableKey ()
286 {
287 return ++maxKey;
288 } // dynamicVariable
289
290 /** Other variables besides the default ones can be dynamically placed
291 into SymTabEntry (and therefore on all symbol table entries) by
292 extenders. This method assigns the value to the variable of the
|
252
253 public void comment( Comment comment )
254 {
255 _comment = comment;
256 }
257
258 public boolean isReferencable()
259 {
260 return _isReferencable ;
261 }
262
263 public void isReferencable( boolean value )
264 {
265 _isReferencable = value ;
266 }
267
268 static Stack includeStack = new Stack ();
269
270 static void enteringInclude ()
271 {
272 includeStack.push (setEmit);
273 setEmit = false;
274 } // enteringInclude
275
276 static void exitingInclude ()
277 {
278 setEmit = ((Boolean)includeStack.pop ()).booleanValue ();
279 } // exitingInclude
280
281 /** Other variables besides the default ones can be dynamically placed
282 into SymTabEntry (and therefore on all symbol table entries) by
283 extenders. Before such a variable can exist, its key must be
284 obtained by calling getVariableKey. */
285 public static int getVariableKey ()
286 {
287 return ++maxKey;
288 } // dynamicVariable
289
290 /** Other variables besides the default ones can be dynamically placed
291 into SymTabEntry (and therefore on all symbol table entries) by
292 extenders. This method assigns the value to the variable of the
|