package
0.0.0-20180917073602-62694dd50b91
Repository: https://github.com/bazelbuild/tools_jvm_autodeps.git
Documentation: pkg.go.dev

# Functions

Any is a Selector which always returns true.
OneOf constructs and returns a selector for the given set of node types.
RegisterTypes propagates node types metadata for the given language to the global registry.

# Constants

The following list of categories should never be persisted and can be changed as needed.
AttractsComments is set for nodes that can have comments attached to them.
Node types shared by all languages.
The following list of categories should never be persisted and can be changed as needed.
The following list of categories should never be persisted and can be changed as needed.
other declarations that are not classes, functions, or variables.
for throws, extends, etc clauses.
The following list of categories should never be persisted and can be changed as needed.
does not cover literals, references, and identifiers.
The following list of categories should never be persisted and can be changed as needed.
HasName nodes have names as part of their source ranges.
for identifiers that are not names, types, parameters, or modifier.
Identifier, Keywords, and other tokens that can be considered for token-based completion.
The following list of categories should never be persisted and can be changed as needed.
Node types shared by all languages.
IsLocal is set for nodes that can be dropped from the declarative AST.
IsMultilineToken is set for nodes that may span multiple lines (e.g.
IsReference nodes represent references to other source elements.
Java.
Java.
@Nullable.
public @interface Test { .
public boolean enabled() default true;.
|(foo, bar)|.
Java.
byte[] bytes = |{1,2,3}|;.
A[], int[].
assert a == 5;.
Java.
Java.
for (int i = 0; i < arr.length; i++) { }.
Java.
Java.
Java.
{ foo(); }.
class A |{}|.
extends.
break;.
case 1:.
Java.
catch (IOException e) { .
IOException e.
class A {}.
Java.
A, java.util.List<Integer>.
extends |@Bar| Foo {}.
class A { |A() {}| }.
continue A;.
switch (a) { |default:| break; }.
public boolean enabled() |default true|;.
Java.
Java.
do retry = run(); while(retry);.
@ForRequestPath(|"/aaa"|).
@ForRequestPath(|value = "/aaa"|).
;.
;.
// aaa.
for (A a : listOfA) { }.
enum Kind {}.
enum I { |PUBLIC("public") { ..
Java.
|a--;|.
Java.
class A |extends B| {}.
private int i = 1;.
Java.
Java.
finally { }.
int i = 0.
String[] args.
(String[] args).
i++.
a.foo.
class |A| {}.
if (true) { } else { }.
class D |implements E| {}.
import a.b.c;.
Java.
int i = |5+2|;.
class A { |{}| }.
Java.
interface Reader {}.
label: for (...) {}.
Java.
Java.
1, "abc", '\n', 1e9, 0xabc, 123_456.
final int a = 5, b = 7;.
public static void main(String[] args) {}.
public |<T> @X| T[] getTs();.
Java.
this.|aa|(foo, bar).
Java.
public, final, @Nullable.
Java.
Java.
Java.
Java.
import |a.b.Cde|;.
import |a.b.Cde.*|;.
Java.
Java.
class A { abstract int a()|;| }.
Java.
Java.
package com.test;.
Java.
Java.
Java.
Java.
Java.
Java.
int, long, boolean.
Java.
void m2(|@MyAnnotation Test this|) { }.
Java.
InputStream inputStream = getStream().
try |(InputStream inputStream = getStream(); )| { }.
return 1;.
Java.
import |static| A.b;.
class A { |static {}| }.
Java.
Java.
switch (a) { case 1: break; }.
switch (a) |{ case 1: break; }|.
synchronized (a) { .
Java.
this.
Java.
throw new IOException('failure');.
int a() |throws IOException| {}.
/* bb */ (including doc comments).
try { } finally { } catch (IOException e) { .
Map<|? extends String|, |B|>.
Map|<String, List|<String>|>|.
extends A & B.
Java.
Java.
T extends A & B.
class A<|T extends A & B|> {}.
Java.
i = 1.
void foo(String |@bar ...|rest).
void.
while (true) { .
Node types shared by all languages.
The following list of categories should never be persisted and can be changed as needed.
public, static, final.
The following list of categories should never be persisted and can be changed as needed.
The following list of categories should never be persisted and can be changed as needed.
Node types shared by all languages.
The following list of categories should never be persisted and can be changed as needed.
The following list of categories should never be persisted and can be changed as needed.
Node types shared by all languages.
RetainsText is set for nodes that have their text stored in a declarative AST.
The following list of categories should never be persisted and can be changed as needed.
Node types shared by all languages.
can also be used for single identifiers.
The following list of categories should never be persisted and can be changed as needed.

# Structs

TypeDescriptor contains all meta-information about one Type, provided by language implementations.

# Type aliases

Category is a language-independent classification of node types.
Property is a bitmask of node properties.
Selector represents a set of node types and returns true if a given type belongs to the set.
Type is the set of all AST node types returned by various language parsers.