Java Code Examples for jdk.nashorn.internal.objects.annotations.Attribute#NON_ENUMERABLE_CONSTANT

The following examples show how to use jdk.nashorn.internal.objects.annotations.Attribute#NON_ENUMERABLE_CONSTANT . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
/**
 * ECMA 15.10.7.1 source
 *
 * @param self self reference
 * @return the input string for the regexp
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object source(final Object self) {
    return checkRegExp(self).getRegExp().getSource();
}
 
Example 2
/**
 * ECMA 15.10.7.2 global
 *
 * @param self self reference
 * @return true if this regexp is flagged global, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object global(final Object self) {
    return checkRegExp(self).getRegExp().isGlobal();
}
 
Example 3
/**
 * ECMA 15.10.7.3 ignoreCase
 *
 * @param self self reference
 * @return true if this regexp if flagged to ignore case, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object ignoreCase(final Object self) {
    return checkRegExp(self).getRegExp().isIgnoreCase();
}
 
Example 4
/**
 * ECMA 15.10.7.4 multiline
 *
 * @param self self reference
 * @return true if this regexp is flagged to be multiline, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object multiline(final Object self) {
    return checkRegExp(self).getRegExp().isMultiline();
}
 
Example 5
/**
 * ECMA 15.10.7.1 source
 *
 * @param self self reference
 * @return the input string for the regexp
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object source(final Object self) {
    return checkRegExp(self).getRegExp().getSource();
}
 
Example 6
/**
 * ECMA 15.10.7.2 global
 *
 * @param self self reference
 * @return true if this regexp is flagged global, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object global(final Object self) {
    return checkRegExp(self).getRegExp().isGlobal();
}
 
Example 7
/**
 * ECMA 15.10.7.3 ignoreCase
 *
 * @param self self reference
 * @return true if this regexp if flagged to ignore case, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object ignoreCase(final Object self) {
    return checkRegExp(self).getRegExp().isIgnoreCase();
}
 
Example 8
/**
 * ECMA 15.10.7.4 multiline
 *
 * @param self self reference
 * @return true if this regexp is flagged to be multiline, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object multiline(final Object self) {
    return checkRegExp(self).getRegExp().isMultiline();
}
 
Example 9
/**
 * ECMA 15.10.7.1 source
 *
 * @param self self reference
 * @return the input string for the regexp
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object source(final Object self) {
    return checkRegExp(self).getRegExp().getSource();
}
 
Example 10
/**
 * ECMA 15.10.7.2 global
 *
 * @param self self reference
 * @return true if this regexp is flagged global, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object global(final Object self) {
    return checkRegExp(self).getRegExp().isGlobal();
}
 
Example 11
/**
 * ECMA 15.10.7.3 ignoreCase
 *
 * @param self self reference
 * @return true if this regexp if flagged to ignore case, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object ignoreCase(final Object self) {
    return checkRegExp(self).getRegExp().isIgnoreCase();
}
 
Example 12
/**
 * ECMA 15.10.7.4 multiline
 *
 * @param self self reference
 * @return true if this regexp is flagged to be multiline, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object multiline(final Object self) {
    return checkRegExp(self).getRegExp().isMultiline();
}
 
Example 13
/**
 * ECMA 15.10.7.1 source
 *
 * @param self self reference
 * @return the input string for the regexp
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object source(final Object self) {
    return checkRegExp(self).getRegExp().getSource();
}
 
Example 14
/**
 * ECMA 15.10.7.2 global
 *
 * @param self self reference
 * @return true if this regexp is flagged global, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object global(final Object self) {
    return checkRegExp(self).getRegExp().isGlobal();
}
 
Example 15
/**
 * ECMA 15.10.7.3 ignoreCase
 *
 * @param self self reference
 * @return true if this regexp if flagged to ignore case, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object ignoreCase(final Object self) {
    return checkRegExp(self).getRegExp().isIgnoreCase();
}
 
Example 16
/**
 * ECMA 15.10.7.4 multiline
 *
 * @param self self reference
 * @return true if this regexp is flagged to be multiline, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object multiline(final Object self) {
    return checkRegExp(self).getRegExp().isMultiline();
}
 
Example 17
/**
 * ECMA 15.10.7.1 source
 *
 * @param self self reference
 * @return the input string for the regexp
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object source(final Object self) {
    return checkRegExp(self).getRegExp().getSource();
}
 
Example 18
/**
 * ECMA 15.10.7.2 global
 *
 * @param self self reference
 * @return true if this regexp is flagged global, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object global(final Object self) {
    return checkRegExp(self).getRegExp().isGlobal();
}
 
Example 19
/**
 * ECMA 15.10.7.3 ignoreCase
 *
 * @param self self reference
 * @return true if this regexp if flagged to ignore case, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object ignoreCase(final Object self) {
    return checkRegExp(self).getRegExp().isIgnoreCase();
}
 
Example 20
/**
 * ECMA 15.10.7.4 multiline
 *
 * @param self self reference
 * @return true if this regexp is flagged to be multiline, false otherwise
 */
@Getter(attributes = Attribute.NON_ENUMERABLE_CONSTANT)
public static Object multiline(final Object self) {
    return checkRegExp(self).getRegExp().isMultiline();
}