Optional
options: { Optional
allowIf true
, will look inside Ast.String
nodes to see if the string contents
contain token
.
Optional
onlyIf true
, whitespace and comments will be skilled but any other
node that doesn't match token
will cause the scan to terminate.
Optional
startIndex to start scanning.
Generated using TypeDoc
Scan
nodes
looking for the first occurrence oftoken
. Ifoptions.onlySkipWhitespaceAndComments==true
, then the scan will only skip whitespace/comment nodes.