private query()

in client/src/lang/parser.ts [38:47]


  private query(): CqlQuery {
    const content =
      this.peek().tokenType === TokenType.EOF ? undefined : this.binary();

    if (this.peek().tokenType !== TokenType.EOF) {
      throw this.unexpectedTokenError();
    }

    return new CqlQuery(content);
  }