| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| private static int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public static SymbolNameType | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static final boolean | isRubyVariable(String name)
Check the syntax of a Ruby variable, including that it's longer than zero characters, and starts with either an @ or a capital letter. |
| public static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static int |
| globalNamePunctuationBits | back to summary |
|---|---|
| private static final int[] globalNamePunctuationBits | |
| globalPunctuationBits | back to summary |
|---|---|
| private static int[] globalPunctuationBits | |
| IdUtil | back to summary |
|---|---|
| public IdUtil() | |
| BIT | back to summary |
|---|---|
| private static int BIT(int c, int index) | |
| determineSymbolNameType | back to summary |
|---|---|
| public static SymbolNameType determineSymbolNameType(Ruby runtime, ByteList data) | |
| isAttrSet | back to summary |
|---|---|
| public static boolean isAttrSet(String id) | |
| isClassVariable | back to summary |
|---|---|
| public static boolean isClassVariable(String id) rb_is_class_id and is_class_id | |
| isConstant | back to summary |
|---|---|
| public static boolean isConstant(String id) rb_is_const_id and is_const_id | |
| isConstantInitial | back to summary |
|---|---|
| public static boolean isConstantInitial(ByteList byteList) | |
| isGlobal | back to summary |
|---|---|
| public static boolean isGlobal(String id) rb_is_global_id and is_global_id | |
| isInitialCharacter | back to summary |
|---|---|
| public static boolean isInitialCharacter(int c) | |
| isInstanceVariable | back to summary |
|---|---|
| public static boolean isInstanceVariable(String id) rb_is_instance_id and is_instance_id | |
| isLocal | back to summary |
|---|---|
| public static boolean isLocal(String id)
Deprecated
rb_is_local_id and is_local_id
| |
| isNameCharacter | back to summary |
|---|---|
| public static boolean isNameCharacter(char c) | |
| isNameString | back to summary |
|---|---|
| public static boolean isNameString(String id, int start, int limit) | |
| isPredicate | back to summary |
|---|---|
| public static boolean isPredicate(String id) | |
| isRubyVariable | back to summary |
|---|---|
| public static final boolean isRubyVariable(String name) Check the syntax of a Ruby variable, including that it's longer than zero characters, and starts with either an @ or a capital letter. | |
| isSpecial | back to summary |
|---|---|
| public static boolean isSpecial(String id) We store IR special variables (e.g. %block) in scope and we want reflective Ruby methods to not see these since they are not real variables...they're special. | |
| isSpecialGlobalName | back to summary |
|---|---|
| private static boolean isSpecialGlobalName(byte c) | |
| isValidClassVariableName | back to summary |
|---|---|
| public static boolean isValidClassVariableName(String id) | |
| isValidConstantName | back to summary |
|---|---|
| public static boolean isValidConstantName(String id) | |
| isValidInstanceVariableName | back to summary |
|---|---|
| public static boolean isValidInstanceVariableName(String id) | |
| SPECIAL_PUNCT | back to summary |
|---|---|
| private static int SPECIAL_PUNCT(int idx) | |