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, Collection<? extends TSCNode> c) booleanaddAll(Collection<? extends TSCNode> c) voidclear()booleanbooleancontainsAll(Collection<?> args) get(int index) com.caoccao.javet.values.reference.V8ValueArrayintbooleanisEmpty()iterator()intlistIterator(int startIndex) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T2> T2[]toArray(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
public <T2> T2[] toArray(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
-