Class Parser.Builder

  • Enclosing class:
    Parser

    public static class Parser.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • language

        public Parser.Builder language​(@NotNull
                                       @NotNull Language language)
        Sets the programming language intended for parsing.
        Parameters:
        language - The language used for parsing
        Returns:
        this builder
        Throws:
        NullPointerException - if the language is null
        UnsatisfiedLinkError - if the language was not linked to native code
        ABIVersionError - if the language ABI version is incompatible with requirements