I have a rule that reads as
interfaceCommands
: descriptionCmd
ipAddressCmd
otherCmd
;
Though the expected order of Cmds is as stated in the grammar, I also should be able to accept the input when the order of these Cmds are interchanged. For example, At any time, ipAddressCmd can precede descriptionCmd or come after otherCmd in the actual input. How should my grammar be modified to accommodate and be able to parse these disordered inputs?