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 TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends TSCNode> c) boolean
addAll
(Collection<? extends TSCNode> c) void
clear()
boolean
boolean
containsAll
(Collection<?> args) get
(int index) com.caoccao.javet.values.reference.V8ValueArray
int
boolean
isEmpty()
iterator()
int
listIterator
(int startIndex) remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
<T2> T2[]
toArray
(T2[] array) static TSCNodeList
wrap
(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, 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
-
Method Details
-
wrap
public static TSCNodeList wrap(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject maybeArrayV8) -
getProgramContext
- Specified by:
getProgramContext
in interfaceTSCV8Backed
-
getBackingV8Object
public com.caoccao.javet.values.reference.V8ValueArray getBackingV8Object()- Specified by:
getBackingV8Object
in interfaceTSCV8Backed
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T2> T2[] toArray(T2[] array) -
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
-