OBJECT

ItemGroup

A collection of items, with scope context

link GraphQL Schema definition

  • type ItemGroup {
  • # Items for this itemGroup
  • items: [Item!]!
  • # Tokens for this itemGroup
  • #
  • # Arguments
  • # withChars: Return tokens whose payload is an exact match to one
  • # of the specified strings
  • # withSubTypes: Return tokens with one of the specified subTypes
  • tokens(withChars: [String!], withSubTypes: [String!]): [Item!]!
  • # The text of the itemGroup as a single string
  • #
  • # Arguments
  • # normalizeSpace: If true, converts each whitespace character to
  • # a single space
  • text(normalizeSpace: Boolean): String!
  • # The labels of scopes that were open at the beginning of the itemGroup
  • #
  • # Arguments
  • # startsWith: Only include scopes that begin with this value
  • scopeLabels(startsWith: [String!]): [String!]!
  • # The itemGroup content as a string in a compact eyeballable format
  • dump: String!
  • # A list of scopes from the items of the itemGroup
  • includedScopes: [String!]!
  • }