Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BlockStatementOrExpression

Hierarchy

Indexable

[n: number]: SomeStatement

Index

Properties

Array

Array: ArrayConstructor

alternate

alternate: SomeExpression

argument

argument: SomeExpression

arguments

arguments: SomeExpression[]

body

callee

callee: SomeExpression

computed

computed: boolean

consequent

consequent: SomeExpression

defaults

defaults: SomeExpression[]

elements

elements: SomeExpression[]

expression

expression: boolean

expressions

expressions: SomeExpression[]

generator

generator: boolean

id

Optional leadingComments

leadingComments: Comment[]

left

length

length: number

Optional loc

object

object: SomeExpression

operator

operator: string

params

params: Identifier[]

prefix

prefix: boolean

properties

properties: Property[]

property

Optional range

range: number[]

rest

rest: Identifier

right

test

Optional trailingComments

trailingComments: Comment[]

type

type: string

Methods

__@iterator

  • Returns IterableIterator<SomeStatement>

__@unscopables

  • __@unscopables(): object
  • Returns object

    • copyWithin: boolean
    • entries: boolean
    • fill: boolean
    • find: boolean
    • findIndex: boolean
    • keys: boolean
    • values: boolean

concat

  • concat(...items: ConcatArray<SomeStatement>[]): SomeStatement[]
  • concat(...items: (T | ConcatArray<T>)[]): SomeStatement[]
  • Parameters

    • Rest ...items: ConcatArray<SomeStatement>[]

    Returns SomeStatement[]

  • Parameters

    • Rest ...items: (T | ConcatArray<T>)[]

    Returns SomeStatement[]

copyWithin

  • copyWithin(target: number, start: number, end?: number): this
  • Parameters

    • target: number
    • start: number
    • Optional end: number

    Returns this

entries

  • Returns IterableIterator<[number, SomeStatement]>

every

  • every(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): boolean
        • Parameters

          Returns boolean

    • Optional thisArg: any

    Returns boolean

fill

  • Parameters

    • value: SomeStatement
    • Optional start: number
    • Optional end: number

    Returns this

filter

  • filter<S>(callbackfn: function, thisArg?: any): S[]
  • filter(callbackfn: function, thisArg?: any): SomeStatement[]
  • Type parameters

    Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): boolean
        • Parameters

          Returns boolean

    • Optional thisArg: any

    Returns S[]

  • Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): any
        • Parameters

          Returns any

    • Optional thisArg: any

    Returns SomeStatement[]

find

  • find<S>(predicate: function, thisArg?: any): S | undefined
  • find(predicate: function, thisArg?: any): SomeStatement | undefined
  • Type parameters

    Parameters

    • predicate: function
        • (this: void, value: SomeStatement, index: number, obj: SomeStatement[]): boolean
        • Parameters

          • this: void
          • value: SomeStatement
          • index: number
          • obj: SomeStatement[]

          Returns boolean

    • Optional thisArg: any

    Returns S | undefined

  • Parameters

    • predicate: function
        • (value: SomeStatement, index: number, obj: SomeStatement[]): boolean
        • Parameters

          Returns boolean

    • Optional thisArg: any

    Returns SomeStatement | undefined

findIndex

  • findIndex(predicate: function, thisArg?: any): number
  • Parameters

    • predicate: function
        • (value: SomeStatement, index: number, obj: SomeStatement[]): boolean
        • Parameters

          Returns boolean

    • Optional thisArg: any

    Returns number

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): void
        • Parameters

          Returns void

    • Optional thisArg: any

    Returns void

indexOf

  • indexOf(searchElement: SomeStatement, fromIndex?: number): number
  • Parameters

    Returns number

join

  • join(separator?: string): string
  • Parameters

    • Optional separator: string

    Returns string

keys

  • keys(): IterableIterator<number>
  • Returns IterableIterator<number>

lastIndexOf

  • lastIndexOf(searchElement: SomeStatement, fromIndex?: number): number
  • Parameters

    Returns number

map

  • map<U>(callbackfn: function, thisArg?: any): U[]
  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): U
        • Parameters

          Returns U

    • Optional thisArg: any

    Returns U[]

pop

  • Returns SomeStatement | undefined

push

  • push(...items: SomeStatement[]): number
  • Parameters

    • Rest ...items: SomeStatement[]

    Returns number

reduce

  • Parameters

    Returns SomeStatement

  • Parameters

    Returns SomeStatement

  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: SomeStatement, currentIndex: number, array: SomeStatement[]): U
        • Parameters

          • previousValue: U
          • currentValue: SomeStatement
          • currentIndex: number
          • array: SomeStatement[]

          Returns U

    • initialValue: U

    Returns U

reduceRight

  • Parameters

    Returns SomeStatement

  • Parameters

    Returns SomeStatement

  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: SomeStatement, currentIndex: number, array: SomeStatement[]): U
        • Parameters

          • previousValue: U
          • currentValue: SomeStatement
          • currentIndex: number
          • array: SomeStatement[]

          Returns U

    • initialValue: U

    Returns U

reverse

  • reverse(): SomeStatement[]
  • Returns SomeStatement[]

shift

  • Returns SomeStatement | undefined

slice

  • slice(start?: number, end?: number): SomeStatement[]
  • Parameters

    • Optional start: number
    • Optional end: number

    Returns SomeStatement[]

some

  • some(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: SomeStatement, index: number, array: SomeStatement[]): boolean
        • Parameters

          Returns boolean

    • Optional thisArg: any

    Returns boolean

sort

  • sort(compareFn?: function): this
  • Parameters

    Returns this

splice

  • splice(start: number, deleteCount?: number): SomeStatement[]
  • splice(start: number, deleteCount: number, ...items: SomeStatement[]): SomeStatement[]
  • Parameters

    • start: number
    • Optional deleteCount: number

    Returns SomeStatement[]

  • Parameters

    • start: number
    • deleteCount: number
    • Rest ...items: SomeStatement[]

    Returns SomeStatement[]

toLocaleString

  • toLocaleString(): string
  • Returns string

toString

  • toString(): string
  • Returns string

unshift

  • unshift(...items: SomeStatement[]): number
  • Parameters

    • Rest ...items: SomeStatement[]

    Returns number

values

  • Returns IterableIterator<SomeStatement>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method