Module aya.ide

Record Class ProjectSymbol

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
    Modifier and Type
    Class
    Description
    static final record 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProjectSymbol(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol> symbols)
    Creates an instance of a ProjectSymbol record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(@NotNull org.aya.concrete.stmt.Stmt stmt)
     
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    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.PrettierOptions
    Returns the value of the options record component.
    @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol>
    Returns the value of the symbols record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.function.Consumer

    andThen

    Methods inherited from interface org.aya.concrete.visitor.EndoExpr

    apply, post, pre

    Methods inherited from interface org.aya.concrete.visitor.EndoPattern

    apply, post, pre

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods 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 a ProjectSymbol record class.
      Parameters:
      options - the value for the options record component
      symbols - the value for the symbols record 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:
      accept in interface Consumer<org.aya.concrete.stmt.Stmt>
      Specified by:
      accept in interface org.aya.concrete.visitor.StmtConsumer
      Specified by:
      accept in interface SyntaxDeclAction
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • options

      @NotNull public @NotNull org.aya.util.prettier.PrettierOptions options()
      Returns the value of the options record component.
      Returns:
      the value of the options record component
    • symbols

      @NotNull public @NotNull kala.collection.mutable.MutableList<ProjectSymbol.Symbol> symbols()
      Returns the value of the symbols record component.
      Returns:
      the value of the symbols record component