@DontExtend
    protected Rule fromStringLiteral(final String string)
    {
        Objects.requireNonNull(string);
        return fromCharArray(string.toCharArray());
    }
@DontExtend
    protected Rule fromStringLiteral(final String string)
    {
        Objects.requireNonNull(string);
        return fromCharArray(string.toCharArray());
    }
@ DontExtend protected Rule fromStringLiteral ( final String string ) { Objects . requireNonNull ( string ) ; return fromCharArray ( string . toCharArray ( ) ) ; }
Convert a string literal to a parser rule

@param string the string
@return the rule
Convert a string literal to a parser rule