메소드 | 설명 | |
---|---|---|
LL1Analyzer ( |
메소드 | 설명 | |
---|---|---|
Look ( |
Compute set of tokens that can follow s in the ATN in the specified ctx . If ctx is PredictionContext.EmptyLocal and stopState or the end of the rule containing s is reached, TokenConstants.EPSILON is added to the result set. If ctx is not PredictionContext.EmptyLocal and addEOF is
|
메소드 | 설명 | |
---|---|---|
GetDecisionLookahead ( |
||
Look ( |
||
Look ( |
public LL1Analyzer ( |
||
atn | ||
리턴 | System.Collections.Generic |
protected Look ( |
||
s | the ATN state. | |
stopState |
/// the ATN state to stop at. This can be a
/// |
|
ctx | PredictionContext |
/// The outer context, or
/// |
look | The result lookahead set. | |
lookBusy | HashSet |
/// A set used for preventing epsilon closures in the ATN
/// from causing a stack overflow. Outside code should pass
/// |
calledRuleStack |
/// A set used for preventing left recursion in the
/// ATN from causing a stack overflow. Outside code should pass
/// |
|
seeThruPreds | bool |
///
/// |
addEOF | bool |
/// Add
/// |
리턴 | void |