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.TypeNodeNested 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 TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, @NonNull Collection<? extends TSCNode> c) booleanaddAll(@NonNull Collection<? extends TSCNode> c) voidclear()booleanbooleancontainsAll(@NonNull Collection<?> c) get(int index) intbooleanisEmpty()iterator()int@NonNull ListIterator<TSCNode>@NonNull ListIterator<TSCNode>listIterator(int index) remove(int index) booleanbooleanremoveAll(@NonNull Collection<?> c) booleanretainAll(@NonNull Collection<?> c) intsize()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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliteratorMethods 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
@NonNull public <T> @NonNull T[] toArray(@NonNull @NonNull T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<TSCNode>- Specified by:
containsAllin interfaceList<TSCNode>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<TSCNode>
-
listIterator
- Specified by:
listIteratorin interfaceList<TSCNode>
-
listIterator
- Specified by:
listIteratorin interfaceList<TSCNode>
-
subList
-