Package dev.webfx.platform.ast
Interface AstNode
- All Superinterfaces:
ReadOnlyAstNode
- All Known Subinterfaces:
AstArray,AstObject,NativeAstArray,NativeAstObject
- All Known Implementing Classes:
AstObjectWrapper,ListAstArray,ListBasedAstArray,MapAstObject,MapBasedAstObject
- Author:
- Bruno Salmon
-
Method Summary
Methods inherited from interface dev.webfx.platform.ast.ReadOnlyAstNode
isArray, isEmpty, isObject, size
-
Method Details
-
clear
void clear()Removes all entries. -
asObject
Removes the first instance of the given value from the list.- Specified by:
asObjectin interfaceReadOnlyAstNode- Returns:
- Whether the item was removed.
-
asArray
- Specified by:
asArrayin interfaceReadOnlyAstNode
-