Class TSCSyntaxListNode
java.lang.Object
org.openrewrite.javascript.internal.tsc.TSCNode
org.openrewrite.javascript.internal.tsc.TSCSyntaxListNode
- All Implemented Interfaces:
Iterable<TSCNode>
,Collection<TSCNode>
,List<TSCNode>
,TSCV8Backed
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.javascript.internal.tsc.TSCNode
TSCNode.SourceFile, TSCNode.TypeNode
Nested classes/interfaces inherited from interface org.openrewrite.javascript.internal.tsc.TSCV8Backed
TSCV8Backed.DebugInfo, TSCV8Backed.Wrapper
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTSCSyntaxListNode
(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject nodeV8) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, @NonNull Collection<? extends TSCNode> c) boolean
addAll
(@NonNull Collection<? extends TSCNode> c) void
clear()
boolean
boolean
containsAll
(@NonNull Collection<?> c) get
(int index) int
boolean
isEmpty()
iterator()
int
@NonNull ListIterator<TSCNode>
@NonNull ListIterator<TSCNode>
listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(@NonNull Collection<?> c) boolean
retainAll
(@NonNull Collection<?> c) int
size()
subList
(int fromIndex, int toIndex) @NonNull Object[]
toArray()
<T> @NonNull T[]
toArray
(@NonNull T[] a) Methods inherited from class org.openrewrite.javascript.internal.tsc.TSCNode
assertSourceFile, assertTypeNode, containsPosition, findNodeAtPosition, firstNodeContaining, firstNodeContaining, firstNodeWithText, firstNodeWithTextOrNull, getAllChildNodes, getBackingV8Object, getChildCount, getChildNode, getChildNodeRequired, getChildNodes, getEnd, getParent, getProgramContext, getSourceFile, getStart, getStartWithLeadingSpace, getSymbolForNode, getText, getTypeForNode, nearestContainingNamedDeclaration, nearestContainingNamedDeclarationOrNull, printTree, syntaxKind, syntaxKindCode, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
Methods inherited from interface org.openrewrite.javascript.internal.tsc.TSCV8Backed
as, getAllPropertiesForDebugging, getAllPropertyNames, getBooleanProperty, getConstructorName, getDebugInfo, getIndexInfoListProperty, getIndexInfoProperty, getIntProperty, getLongProperty, getNodeListProperty, getNodeProperty, getOptionalBooleanProperty, getOptionalIndexInfoListProperty, getOptionalIndexInfoProperty, getOptionalIntProperty, getOptionalLongProperty, getOptionalNodeListProperty, getOptionalNodeProperty, getOptionalSignatureListProperty, getOptionalSignatureProperty, getOptionalStringProperty, getOptionalSymbolListProperty, getOptionalSymbolProperty, getOptionalSyntaxKindProperty, getOptionalSyntaxListProperty, getOptionalTypeListProperty, getOptionalTypeNodeProperty, getOptionalTypeProperty, getOwnPropertyNames, getPropertyNonNull, getPropertyNullable, getPropertyUnsafe, getSignatureListProperty, getSignatureProperty, getStringProperty, getSymbolListProperty, getSymbolProperty, getSyntaxKindProperty, getSyntaxListProperty, getTS, getTypeChecker, getTypeListProperty, getTypeNodeProperty, getTypeProperty, hasProperty, invokeMethodBoolean, invokeMethodNonNull, invokeMethodNullable, invokeMethodUnsafe
-
Constructor Details
-
TSCSyntaxListNode
public TSCSyntaxListNode(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject nodeV8)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> @NonNull T[] toArray(@NonNull T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<TSCNode>
- Specified by:
containsAll
in interfaceList<TSCNode>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<TSCNode>
-
listIterator
- Specified by:
listIterator
in interfaceList<TSCNode>
-
listIterator
- Specified by:
listIterator
in interfaceList<TSCNode>
-
subList
-