java.lang.Object
java.lang.Record
com.intellij.psi.builder.ASTMarkerVisitor
public record ASTMarkerVisitor(@NotNull FleetPsiParser psiParser, @NotNull ASTMarkers<?> root, @NotNull TokenSet whitespaces, @NotNull TokenSet comments, @NotNull ArrayTokenSequence tokens, @NotNull String text)
extends Record
-
构造器概要
构造器构造器说明ASTMarkerVisitor(@NotNull FleetPsiParser psiParser, @NotNull ASTMarkers<?> root, @NotNull TokenSet whitespaces, @NotNull TokenSet comments, @NotNull ArrayTokenSequence tokens, @NotNull String text) 创建ASTMarkerVisitor记录的实例。 -
方法概要
修饰符和类型方法说明@NotNull TokenSetcomments()返回comments记录组件的值。final boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。@NotNull FleetPsiParser返回psiParser记录组件的值。@NotNull ASTMarkers<?>root()返回root记录组件的值。@NotNull Stringtext()返回text记录组件的值。@NotNull ArrayTokenSequencetokens()返回tokens记录组件的值。final StringtoString()返回此记录的字符串表示形式。voidvisitTree(@NotNull ASTMarkers<?> astMarkers, int startLexemeOffset, int currentMarker, int currentOffset, @NotNull MarkerNode parent) @NotNull TokenSet返回whitespaces记录组件的值。
-
构造器详细资料
-
ASTMarkerVisitor
public ASTMarkerVisitor(@NotNull @NotNull FleetPsiParser psiParser, @NotNull @NotNull ASTMarkers<?> root, @NotNull @NotNull TokenSet whitespaces, @NotNull @NotNull TokenSet comments, @NotNull @NotNull ArrayTokenSequence tokens, @NotNull @NotNull String text) 创建ASTMarkerVisitor记录的实例。- 参数:
psiParser-psiParser记录组件的值root-root记录组件的值whitespaces-whitespaces记录组件的值comments-comments记录组件的值tokens-tokens记录组件的值text-text记录组件的值
-
-
方法详细资料
-
visitTree
public void visitTree(@NotNull @NotNull ASTMarkers<?> astMarkers, int startLexemeOffset, int currentMarker, int currentOffset, @NotNull @NotNull MarkerNode parent) -
toString
返回此记录的字符串表示形式。此表示形式包含类型的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
psiParser
返回psiParser记录组件的值。- 返回:
psiParser记录组件的值
-
root
返回root记录组件的值。- 返回:
root记录组件的值
-
whitespaces
返回whitespaces记录组件的值。- 返回:
whitespaces记录组件的值
-
comments
返回comments记录组件的值。- 返回:
comments记录组件的值
-
tokens
返回tokens记录组件的值。- 返回:
tokens记录组件的值
-
text
返回text记录组件的值。- 返回:
text记录组件的值
-