Class TSCNodeList
java.lang.Object
org.openrewrite.javascript.internal.tsc.TSCNodeList
- All Implemented Interfaces:
Iterable<TSCNode>,Collection<TSCNode>,List<TSCNode>,TSCV8Backed
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.javascript.internal.tsc.TSCV8Backed
TSCV8Backed.DebugInfo, TSCV8Backed.Wrapper -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, @NonNull Collection<? extends TSCNode> c) booleanaddAll(@NonNull Collection<? extends TSCNode> c) voidclear()booleanbooleancontainsAll(@NonNull Collection<?> args) get(int index) com.caoccao.javet.values.reference.V8ValueArrayintbooleanisEmpty()iterator()int@NonNull ListIterator<TSCNode>@NonNull ListIterator<TSCNode>listIterator(int startIndex) remove(int index) booleanbooleanremoveAll(@NonNull Collection<?> c) booleanretainAll(@NonNull Collection<?> c) intsize()subList(int fromIndex, int toIndex) @NonNull Object[]toArray()<T2> @NonNull T2[]toArray(@NonNull T2[] array) static TSCNodeListwrap(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject maybeArrayV8) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-
Method Details
-
wrap
public static TSCNodeList wrap(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject maybeArrayV8) -
getProgramContext
- Specified by:
getProgramContextin interfaceTSCV8Backed
-
getBackingV8Object
public com.caoccao.javet.values.reference.V8ValueArray getBackingV8Object()- Specified by:
getBackingV8Objectin interfaceTSCV8Backed
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
@NonNull public <T2> @NonNull T2[] toArray(@NonNull @NonNull T2[] array) -
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
-