1<?php 2 3declare(strict_types=1); 4 5namespace Antlr\Antlr4\Runtime\Atn\States; 6 7final class StarLoopEntryState extends DecisionState 8{ 9 /** @var StarLoopbackState|null */ 10 public $loopBackState; 11 12 /** 13 * Indicates whether this state can benefit from a precedence DFA during SLL 14 * decision making. 15 * 16 * This is a computed property that is calculated during ATN deserialization 17 * and stored for use in {@see ParserATNSimulator} and {@see ParserInterpreter}. 18 * 19 * @see DFA::isPrecedenceDfa() 20 * 21 * @var bool 22 */ 23 public $isPrecedenceDecision = false; 24 25 public function getStateType() : int 26 { 27 return self::STAR_LOOP_ENTRY; 28 } 29} 30