switchStatement abstract method

SwitchStatement switchStatement(
  1. Token switchKeyword,
  2. Token leftParenthesis,
  3. Expression expression,
  4. Token rightParenthesis,
  5. Token leftBracket,
  6. List<SwitchMember> members,
  7. Token rightBracket,
)

Returns a newly created switch statement. The list of members can be null if there are no switch members.

Implementation

SwitchStatement switchStatement(
    Token switchKeyword,
    Token leftParenthesis,
    Expression expression,
    Token rightParenthesis,
    Token leftBracket,
    List<SwitchMember> members,
    Token rightBracket);