Advertisement
Guest User

Untitled

a guest
May 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.73 KB | None | 0 0
  1. public abstract class Token {
  2.  
  3.     public static final int ATTR_PUBLIC         = 1;
  4.     public static final int ATTR_PRIVATE        = 2;
  5.     public static final int ATTR_PROTECTED      = 4;
  6.     public static final int ATTR_CONSTRUCTOR    = 8;
  7.     public static final int ATTR_STATIC         = 16;
  8.     public static final int ATTR_FINAL          = 32;
  9.  
  10.     public static final int TYPE_PACKAGE        = 1;
  11.     public static final int TYPE_CLASS          = 2;
  12.     public static final int TYPE_FUNCTION       = 4;
  13.     public static final int TYPE_PARAMETER      = 8;
  14.     public static final int TYPE_VARIABLE       = 16;
  15.  
  16.     public static final int TYPE_OBJECT         = 64;
  17.     public static final int TYPE_METHOD         = 128;
  18.  
  19.     public int
  20.             _type = 0,              // see the type contstants
  21.             _attributes = 0;        // see the attr constatnts
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement