Uses of Class
ch.usi.si.seart.treesitter.Language
-
Packages that use Language Package Description ch.usi.si.seart.treesitter Provides all the core classes for interfacing with the tree-sitter API.ch.usi.si.seart.treesitter.exception.parser Provides parser-specific exception class hierarchy. -
-
Uses of Language in ch.usi.si.seart.treesitter
Methods in ch.usi.si.seart.treesitter that return Language Modifier and Type Method Description LanguageNode. getLanguage()Get theLanguagethat was used to parse this node’s syntax tree.static LanguageLanguage. valueOf(String name)Returns the enum constant of this type with the specified name.static Language[]Language. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in ch.usi.si.seart.treesitter that return types with arguments of type Language Modifier and Type Method Description static @NotNull Collection<Language>Language. associatedWith(@NotNull Path path)Selects enum values potentially associated with a file at a given path.Methods in ch.usi.si.seart.treesitter with parameters of type Language Modifier and Type Method Description static ParserParser. getFor(@NotNull Language language)Static factory for obtaining new parser instances.static QueryQuery. getFor(@NotNull Language language, @NotNull String... patterns)Static factory for obtaining new query instances.Parser.BuilderParser.Builder. language(@NotNull Language language)Sets the programming language intended for parsing.Query.BuilderQuery.Builder. language(@NotNull Language language)Sets the programming language associated with the query.voidParser. setLanguage(@NotNull Language language)Set the language that the parser should use for parsing.static voidLanguage. validate(@NotNull Language language)Validates an enum value to ensure it is not null and has a valid (nonzero) identifier. -
Uses of Language in ch.usi.si.seart.treesitter.exception.parser
Constructors in ch.usi.si.seart.treesitter.exception.parser with parameters of type Language Constructor Description IncompatibleLanguageException(Language language)
-