
lt.compiler.util.Consts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of latte-compiler Show documentation
Show all versions of latte-compiler Show documentation
The latte-lang compiler project, which contains compiler and runtime required library.
The newest version!
package lt.compiler.util;
/**
* the flags
*/
public class Consts {
public static final int IS_POINTER_SET = 1; // 0001
public static final int IS_POINTER_GET = 2; // 0010
public static final int IS_POINTER_NEW = 4; // 0100
public static final String AST_FIELD = "_LATTE$AST";
public static final String GENERIC_NAME_SPLIT = "_$G$_";
private Consts() {
}
public static boolean flagMatch(int field, int flag) {
return (field & flag) == flag;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy