src/main/java/com/github/fge/grappa/parsers/BaseParser.java
@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