java.lang.Object
java.lang.Record
org.aya.ide.action.ProjectSymbol
- All Implemented Interfaces:
Consumer<org.aya.concrete.stmt.Stmt>,Function<org.aya.concrete.Expr,,org.aya.concrete.Expr> UnaryOperator<org.aya.concrete.Expr>,org.aya.concrete.visitor.EndoExpr,org.aya.concrete.visitor.EndoPattern,org.aya.concrete.visitor.StmtConsumer,SyntaxDeclAction
public record ProjectSymbol(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol> symbols)
extends Record
implements SyntaxDeclAction
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProjectSymbol(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol> symbols) Creates an instance of aProjectSymbolrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(@NotNull org.aya.concrete.stmt.Stmt stmt) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static @NotNull kala.collection.immutable.ImmutableSeq<ProjectSymbol.Symbol>invoke(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull kala.collection.SeqView<org.aya.cli.library.source.LibraryOwner> libraries) static @NotNull kala.collection.immutable.ImmutableSeq<ProjectSymbol.Symbol>invoke(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull org.aya.cli.library.source.LibrarySource source) @NotNull org.aya.util.prettier.PrettierOptionsoptions()Returns the value of theoptionsrecord component.@NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol>symbols()Returns the value of thesymbolsrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.concrete.visitor.EndoExpr
apply, post, preMethods inherited from interface org.aya.concrete.visitor.EndoPattern
apply, post, preMethods inherited from interface org.aya.concrete.visitor.StmtConsumer
visitTelescopic
-
Constructor Details
-
ProjectSymbol
public ProjectSymbol(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options, @NotNull @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol> symbols) Creates an instance of aProjectSymbolrecord class.- Parameters:
options- the value for theoptionsrecord componentsymbols- the value for thesymbolsrecord component
-
-
Method Details
-
invoke
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<ProjectSymbol.Symbol> invoke(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options, @NotNull @NotNull org.aya.cli.library.source.LibrarySource source) -
invoke
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<ProjectSymbol.Symbol> invoke(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options, @NotNull @NotNull kala.collection.SeqView<org.aya.cli.library.source.LibraryOwner> libraries) -
accept
public void accept(@NotNull @NotNull org.aya.concrete.stmt.Stmt stmt) - Specified by:
acceptin interfaceConsumer<org.aya.concrete.stmt.Stmt>- Specified by:
acceptin interfaceorg.aya.concrete.visitor.StmtConsumer- Specified by:
acceptin interfaceSyntaxDeclAction
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
options
@NotNull public @NotNull org.aya.util.prettier.PrettierOptions options()Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
symbols
Returns the value of thesymbolsrecord component.- Returns:
- the value of the
symbolsrecord component
-