PageRenderTime 43ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/kilim/State.java

http://github.com/kilim/kilim
Java | 30 lines | 5 code | 3 blank | 22 comment | 0 complexity | 8b8897d9aca6e7b4e23008db31c6f94b MD5 | raw file
 1/* Copyright (c) 2006, Sriram Srinivasan
 2 *
 3 * You may distribute this software under the terms of the license 
 4 * specified in the file "License"
 5 */
 6
 7package kilim;
 8
 9/**
10 * State is the super class for customized State objects generated
11 * by ClassWeaver. For example, a customized state object  may
12 * look like this:
13 * <pre>
14 * public final class kilim.S_O2I3 extends kilim.State{
15 *   public java.lang.Object f0, f1;
16 *   public int f2, f3, f4;
17 *   public kilim.S_O2I3();
18 * }
19 * </pre>
20 * This customized class contains slots for two objects and three
21 * integers (its name is indicative of this aspect) and is used
22 * as a canonical class to store any activation frame that needs
23 * to store two objects and three ints.
24 *  
25 */
26
27public class State {
28    public int pc;
29    public Object self;
30}