1<?php
2
3declare(strict_types=1);
4
5namespace Antlr\Antlr4\Runtime\Atn\SemanticContexts;
6
7/**
8 * This is the base class for semantic context "operators", which operate on
9 * a collection of semantic context "operands".
10 */
11abstract class Operator extends SemanticContext
12{
13    /**
14     * Gets the operands for the semantic context operator.
15     *
16     * @return array<SemanticContext> A collection of {@see SemanticContext}
17     *                                operands for the operator.
18     */
19    abstract public function getOperands() : array;
20}
21