org.antlr.v4.runtime.atn.RuleStopState Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2012 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD-3-Clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.runtime.atn;
/** The last node in the ATN for a rule, unless that rule is the start symbol.
* In that case, there is one transition to EOF. Later, we might encode
* references to all calls to this rule to compute FOLLOW sets for
* error handling.
*/
public final class RuleStopState extends ATNState {
@Override
public int getNonStopStateNumber() {
return -1;
}
@Override
public int getStateType() {
return RULE_STOP;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy