forked from jasder/antlr
Fix errors in documentation comments
This commit is contained in:
parent
fb0adf1ce5
commit
1e851dc565
|
@ -29,7 +29,9 @@
|
||||||
*/
|
*/
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Antlr4.Runtime.Atn;
|
using Antlr4.Runtime.Atn;
|
||||||
|
using Antlr4.Runtime.Dfa;
|
||||||
using Sharpen;
|
using Sharpen;
|
||||||
|
using Stopwatch = System.Diagnostics.Stopwatch;
|
||||||
|
|
||||||
namespace Antlr4.Runtime.Atn
|
namespace Antlr4.Runtime.Atn
|
||||||
{
|
{
|
||||||
|
@ -49,14 +51,14 @@ namespace Antlr4.Runtime.Atn
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The decision number, which is an index into
|
/// The decision number, which is an index into
|
||||||
/// <see cref="ATN.decisionToState">ATN.decisionToState</see>
|
/// <see cref="ATN.decisionToState"/>
|
||||||
/// .
|
/// .
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly int decision;
|
public readonly int decision;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The total number of times
|
/// The total number of times
|
||||||
/// <see cref="ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)">ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)</see>
|
/// <see cref="ParserATNSimulator.AdaptivePredict(ITokenStream, int, ParserRuleContext)"/>
|
||||||
/// was
|
/// was
|
||||||
/// invoked for this decision.
|
/// invoked for this decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -64,21 +66,15 @@ namespace Antlr4.Runtime.Atn
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The total time spent in
|
/// The total time spent in
|
||||||
/// <see cref="ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)">ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)</see>
|
/// <see cref="ParserATNSimulator.AdaptivePredict(ITokenStream, int, ParserRuleContext)"/>
|
||||||
/// for
|
/// for
|
||||||
/// this decision, in nanoseconds.
|
/// this decision, in nanoseconds.
|
||||||
/// <p>
|
/// <p>
|
||||||
/// The value of this field contains the sum of differential results obtained
|
/// The value of this field is computed by <see cref="Stopwatch"/>,
|
||||||
/// by
|
/// and is not adjusted to compensate for JIT
|
||||||
/// <see cref="Sharpen.Runtime.NanoTime()">Sharpen.Runtime.NanoTime()</see>
|
/// and/or garbage collection overhead. For best accuracy, perform profiling
|
||||||
/// , and is not adjusted to compensate for JIT
|
/// in a separate process which is warmed up by parsing the input prior to
|
||||||
/// and/or garbage collection overhead. For best accuracy, use a modern JVM
|
/// profiling. If desired, call <see cref="ATNSimulator.ClearDFA()"/>
|
||||||
/// implementation that provides precise results from
|
|
||||||
/// <see cref="Sharpen.Runtime.NanoTime()">Sharpen.Runtime.NanoTime()</see>
|
|
||||||
/// , and perform profiling in a separate process
|
|
||||||
/// which is warmed up by parsing the input prior to profiling. If desired,
|
|
||||||
/// call
|
|
||||||
/// <see cref="ATNSimulator.ClearDFA()">ATNSimulator.ClearDFA()</see>
|
|
||||||
/// to reset the DFA cache to its initial
|
/// to reset the DFA cache to its initial
|
||||||
/// state before starting the profiling measurement pass.</p>
|
/// state before starting the profiling measurement pass.</p>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -89,9 +85,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// The sum of the lookahead required for SLL prediction for this decision.
|
/// The sum of the lookahead required for SLL prediction for this decision.
|
||||||
/// Note that SLL prediction is used before LL prediction for performance
|
/// Note that SLL prediction is used before LL prediction for performance
|
||||||
/// reasons even when
|
/// reasons even when
|
||||||
/// <see cref="PredictionMode.Ll">PredictionMode.Ll</see>
|
/// <see cref="PredictionMode.Ll"/>
|
||||||
/// or
|
/// or
|
||||||
/// <see cref="PredictionMode.LlExactAmbigDetection">PredictionMode.LlExactAmbigDetection</see>
|
/// <see cref="PredictionMode.LlExactAmbigDetection"/>
|
||||||
/// is used.
|
/// is used.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public long SLL_TotalLook;
|
public long SLL_TotalLook;
|
||||||
|
@ -122,9 +118,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the
|
/// Gets the
|
||||||
/// <see cref="LookaheadEventInfo">LookaheadEventInfo</see>
|
/// <see cref="LookaheadEventInfo"/>
|
||||||
/// associated with the event where the
|
/// associated with the event where the
|
||||||
/// <see cref="SLL_MaxLook">SLL_MaxLook</see>
|
/// <see cref="SLL_MaxLook"/>
|
||||||
/// value was set.
|
/// value was set.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public LookaheadEventInfo SLL_MaxLookEvent;
|
public LookaheadEventInfo SLL_MaxLookEvent;
|
||||||
|
@ -145,9 +141,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// Gets the minimum lookahead required for any single LL prediction to
|
/// Gets the minimum lookahead required for any single LL prediction to
|
||||||
/// complete for this decision. An LL prediction completes when the algorithm
|
/// complete for this decision. An LL prediction completes when the algorithm
|
||||||
/// reaches a unique prediction, a conflict state (for
|
/// reaches a unique prediction, a conflict state (for
|
||||||
/// <see cref="PredictionMode.Ll">PredictionMode.Ll</see>
|
/// <see cref="PredictionMode.Ll"/>
|
||||||
/// , an ambiguity state (for
|
/// , an ambiguity state (for
|
||||||
/// <see cref="PredictionMode.LlExactAmbigDetection">PredictionMode.LlExactAmbigDetection</see>
|
/// <see cref="PredictionMode.LlExactAmbigDetection"/>
|
||||||
/// , or a syntax error.
|
/// , or a syntax error.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public long LL_MinLook;
|
public long LL_MinLook;
|
||||||
|
@ -160,60 +156,60 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// Gets the maximum lookahead required for any single LL prediction to
|
/// Gets the maximum lookahead required for any single LL prediction to
|
||||||
/// complete for this decision. An LL prediction completes when the algorithm
|
/// complete for this decision. An LL prediction completes when the algorithm
|
||||||
/// reaches a unique prediction, a conflict state (for
|
/// reaches a unique prediction, a conflict state (for
|
||||||
/// <see cref="PredictionMode.Ll">PredictionMode.Ll</see>
|
/// <see cref="PredictionMode.Ll"/>
|
||||||
/// , an ambiguity state (for
|
/// , an ambiguity state (for
|
||||||
/// <see cref="PredictionMode.LlExactAmbigDetection">PredictionMode.LlExactAmbigDetection</see>
|
/// <see cref="PredictionMode.LlExactAmbigDetection"/>
|
||||||
/// , or a syntax error.
|
/// , or a syntax error.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public long LL_MaxLook;
|
public long LL_MaxLook;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the
|
/// Gets the
|
||||||
/// <see cref="LookaheadEventInfo">LookaheadEventInfo</see>
|
/// <see cref="LookaheadEventInfo"/>
|
||||||
/// associated with the event where the
|
/// associated with the event where the
|
||||||
/// <see cref="LL_MaxLook">LL_MaxLook</see>
|
/// <see cref="LL_MaxLook"/>
|
||||||
/// value was set.
|
/// value was set.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public LookaheadEventInfo LL_MaxLookEvent;
|
public LookaheadEventInfo LL_MaxLookEvent;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A collection of
|
/// A collection of
|
||||||
/// <see cref="ContextSensitivityInfo">ContextSensitivityInfo</see>
|
/// <see cref="ContextSensitivityInfo"/>
|
||||||
/// instances describing the
|
/// instances describing the
|
||||||
/// context sensitivities encountered during LL prediction for this decision.
|
/// context sensitivities encountered during LL prediction for this decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="ContextSensitivityInfo">ContextSensitivityInfo</seealso>
|
/// <seealso cref="ContextSensitivityInfo"/>
|
||||||
public readonly IList<ContextSensitivityInfo> contextSensitivities = new List<ContextSensitivityInfo>();
|
public readonly IList<ContextSensitivityInfo> contextSensitivities = new List<ContextSensitivityInfo>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A collection of
|
/// A collection of
|
||||||
/// <see cref="ErrorInfo">ErrorInfo</see>
|
/// <see cref="ErrorInfo"/>
|
||||||
/// instances describing the parse errors
|
/// instances describing the parse errors
|
||||||
/// identified during calls to
|
/// identified during calls to
|
||||||
/// <see cref="ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)">ParserATNSimulator.AdaptivePredict(Antlr4.Runtime.ITokenStream, int, Antlr4.Runtime.ParserRuleContext)</see>
|
/// <see cref="ParserATNSimulator.AdaptivePredict(ITokenStream, int, ParserRuleContext)"/>
|
||||||
/// for
|
/// for
|
||||||
/// this decision.
|
/// this decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="ErrorInfo">ErrorInfo</seealso>
|
/// <seealso cref="ErrorInfo"/>
|
||||||
public readonly IList<ErrorInfo> errors = new List<ErrorInfo>();
|
public readonly IList<ErrorInfo> errors = new List<ErrorInfo>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A collection of
|
/// A collection of
|
||||||
/// <see cref="AmbiguityInfo">AmbiguityInfo</see>
|
/// <see cref="AmbiguityInfo"/>
|
||||||
/// instances describing the
|
/// instances describing the
|
||||||
/// ambiguities encountered during LL prediction for this decision.
|
/// ambiguities encountered during LL prediction for this decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="AmbiguityInfo">AmbiguityInfo</seealso>
|
/// <seealso cref="AmbiguityInfo"/>
|
||||||
public readonly IList<AmbiguityInfo> ambiguities = new List<AmbiguityInfo>();
|
public readonly IList<AmbiguityInfo> ambiguities = new List<AmbiguityInfo>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A collection of
|
/// A collection of
|
||||||
/// <see cref="PredicateEvalInfo">PredicateEvalInfo</see>
|
/// <see cref="PredicateEvalInfo"/>
|
||||||
/// instances describing the
|
/// instances describing the
|
||||||
/// results of evaluating individual predicates during prediction for this
|
/// results of evaluating individual predicates during prediction for this
|
||||||
/// decision.
|
/// decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="PredicateEvalInfo">PredicateEvalInfo</seealso>
|
/// <seealso cref="PredicateEvalInfo"/>
|
||||||
public readonly IList<PredicateEvalInfo> predicateEvals = new List<PredicateEvalInfo>();
|
public readonly IList<PredicateEvalInfo> predicateEvals = new List<PredicateEvalInfo>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -231,9 +227,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// future parsing of this decision. Otherwise, the SLL parsing algorithm
|
/// future parsing of this decision. Otherwise, the SLL parsing algorithm
|
||||||
/// will use ATN transitions exclusively.</p>
|
/// will use ATN transitions exclusively.</p>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="SLL_ATNTransitions">SLL_ATNTransitions</seealso>
|
/// <seealso cref="SLL_ATNTransitions"/>
|
||||||
/// <seealso cref="ParserATNSimulator.ComputeTargetState(Antlr4.Runtime.Dfa.DFA, Antlr4.Runtime.Dfa.DFAState, Antlr4.Runtime.ParserRuleContext, int, bool, PredictionContextCache)">ParserATNSimulator.ComputeTargetState(Antlr4.Runtime.Dfa.DFA, Antlr4.Runtime.Dfa.DFAState, Antlr4.Runtime.ParserRuleContext, int, bool, PredictionContextCache)</seealso>
|
/// <seealso cref="ParserATNSimulator.ComputeTargetState"/>
|
||||||
/// <seealso cref="LexerATNSimulator.ComputeTargetState(Antlr4.Runtime.ICharStream, Antlr4.Runtime.Dfa.DFAState, int)">LexerATNSimulator.ComputeTargetState(Antlr4.Runtime.ICharStream, Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="LexerATNSimulator.ComputeTargetState"/>
|
||||||
public long SLL_ATNTransitions;
|
public long SLL_ATNTransitions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -246,8 +242,8 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// <p>If the ATN simulator implementation does not use DFA caching for SLL
|
/// <p>If the ATN simulator implementation does not use DFA caching for SLL
|
||||||
/// transitions, this value will be 0.</p>
|
/// transitions, this value will be 0.</p>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="ParserATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)">ParserATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="ParserATNSimulator.GetExistingTargetState"/>
|
||||||
/// <seealso cref="LexerATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)">LexerATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="LexerATNSimulator.GetExistingTargetState"/>
|
||||||
public long SLL_DFATransitions;
|
public long SLL_DFATransitions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -286,9 +282,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// future parsing of this decision. Otherwise, the LL parsing algorithm will
|
/// future parsing of this decision. Otherwise, the LL parsing algorithm will
|
||||||
/// use ATN transitions exclusively.</p>
|
/// use ATN transitions exclusively.</p>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="LL_DFATransitions">LL_DFATransitions</seealso>
|
/// <seealso cref="LL_DFATransitions"/>
|
||||||
/// <seealso cref="ParserATNSimulator.ComputeTargetState(Antlr4.Runtime.Dfa.DFA, Antlr4.Runtime.Dfa.DFAState, Antlr4.Runtime.ParserRuleContext, int, bool, PredictionContextCache)">ParserATNSimulator.ComputeTargetState(Antlr4.Runtime.Dfa.DFA, Antlr4.Runtime.Dfa.DFAState, Antlr4.Runtime.ParserRuleContext, int, bool, PredictionContextCache)</seealso>
|
/// <seealso cref="ParserATNSimulator.ComputeTargetState"/>
|
||||||
/// <seealso cref="LexerATNSimulator.ComputeTargetState(Antlr4.Runtime.ICharStream, Antlr4.Runtime.Dfa.DFAState, int)">LexerATNSimulator.ComputeTargetState(Antlr4.Runtime.ICharStream, Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="LexerATNSimulator.ComputeTargetState"/>
|
||||||
public long LL_ATNTransitions;
|
public long LL_ATNTransitions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -301,13 +297,13 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// <p>If the ATN simulator implementation does not use DFA caching for LL
|
/// <p>If the ATN simulator implementation does not use DFA caching for LL
|
||||||
/// transitions, this value will be 0.</p>
|
/// transitions, this value will be 0.</p>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="ParserATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)">ParserATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="ParserATNSimulator.GetExistingTargetState"/>
|
||||||
/// <seealso cref="LexerATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)">LexerATNSimulator.GetExistingTargetState(Antlr4.Runtime.Dfa.DFAState, int)</seealso>
|
/// <seealso cref="LexerATNSimulator.GetExistingTargetState"/>
|
||||||
public long LL_DFATransitions;
|
public long LL_DFATransitions;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a new instance of the
|
/// Constructs a new instance of the
|
||||||
/// <see cref="DecisionInfo">DecisionInfo</see>
|
/// <see cref="DecisionInfo"/>
|
||||||
/// class to contain
|
/// class to contain
|
||||||
/// statistics for a particular decision.
|
/// statistics for a particular decision.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -43,8 +43,8 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// algorithm is unable to identify an alternative which would lead to a
|
/// algorithm is unable to identify an alternative which would lead to a
|
||||||
/// successful parse.
|
/// successful parse.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="Antlr4.Runtime.Parser.NotifyErrorListeners(Antlr4.Runtime.IToken, string, Antlr4.Runtime.RecognitionException)">Antlr4.Runtime.Parser.NotifyErrorListeners(Antlr4.Runtime.IToken, string, Antlr4.Runtime.RecognitionException)</seealso>
|
/// <seealso cref="Parser.NotifyErrorListeners(IToken, string, RecognitionException)"/>
|
||||||
/// <seealso cref="Antlr4.Runtime.IANTLRErrorListener{Symbol}.SyntaxError{T}(Antlr4.Runtime.Recognizer{Symbol, ATNInterpreter}, object, int, int, string, Antlr4.Runtime.RecognitionException)">Antlr4.Runtime.IANTLRErrorListener<Symbol>.SyntaxError<T>(Antlr4.Runtime.Recognizer<Symbol, ATNInterpreter>, object, int, int, string, Antlr4.Runtime.RecognitionException)</seealso>
|
/// <seealso cref="IAntlrErrorListener{TSymbol}.SyntaxError"/>
|
||||||
/// <since>4.3</since>
|
/// <since>4.3</since>
|
||||||
public class ErrorInfo : DecisionEventInfo
|
public class ErrorInfo : DecisionEventInfo
|
||||||
{
|
{
|
||||||
|
|
|
@ -1709,13 +1709,13 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// evaluate the following but it may change in the future:</p>
|
/// evaluate the following but it may change in the future:</p>
|
||||||
/// <ul>
|
/// <ul>
|
||||||
/// <li>Precedence predicates (represented by
|
/// <li>Precedence predicates (represented by
|
||||||
/// <see cref="PrecedencePredicate">PrecedencePredicate</see>
|
/// <see cref="SemanticContext.PrecedencePredicate"/>
|
||||||
/// ) are not currently evaluated
|
/// ) are not currently evaluated
|
||||||
/// through this method.</li>
|
/// through this method.</li>
|
||||||
/// <li>Operator predicates (represented by
|
/// <li>Operator predicates (represented by
|
||||||
/// <see cref="AND">AND</see>
|
/// <see cref="SemanticContext.AND"/>
|
||||||
/// and
|
/// and
|
||||||
/// <see cref="OR">OR</see>
|
/// <see cref="SemanticContext.OR"/>
|
||||||
/// ) are evaluated as a single semantic
|
/// ) are evaluated as a single semantic
|
||||||
/// context, rather than evaluating the operands individually.
|
/// context, rather than evaluating the operands individually.
|
||||||
/// Implementations which require evaluation results from individual
|
/// Implementations which require evaluation results from individual
|
||||||
|
|
|
@ -93,8 +93,8 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// <see cref="predictedAlt">predictedAlt</see>
|
/// <see cref="predictedAlt">predictedAlt</see>
|
||||||
/// for more information.
|
/// for more information.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <seealso cref="ParserATNSimulator.EvalSemanticContext(SemanticContext, Antlr4.Runtime.ParserRuleContext, int)">ParserATNSimulator.EvalSemanticContext(SemanticContext, Antlr4.Runtime.ParserRuleContext, int)</seealso>
|
/// <seealso cref="ParserATNSimulator.EvalSemanticContext(SemanticContext, ParserRuleContext, int)"/>
|
||||||
/// <seealso cref="SemanticContext.Eval(Antlr4.Runtime.Recognizer{Symbol, ATNInterpreter}, Antlr4.Runtime.RuleContext)">SemanticContext.Eval(Antlr4.Runtime.Recognizer<Symbol, ATNInterpreter>, Antlr4.Runtime.RuleContext)</seealso>
|
/// <seealso cref="SemanticContext.Eval"/>
|
||||||
public PredicateEvalInfo(SimulatorState state, int decision, ITokenStream input, int startIndex, int stopIndex, SemanticContext semctx, bool evalResult, int predictedAlt)
|
public PredicateEvalInfo(SimulatorState state, int decision, ITokenStream input, int startIndex, int stopIndex, SemanticContext semctx, bool evalResult, int predictedAlt)
|
||||||
: base(decision, state, input, startIndex, stopIndex, state.useContext)
|
: base(decision, state, input, startIndex, stopIndex, state.useContext)
|
||||||
{
|
{
|
||||||
|
|
|
@ -137,7 +137,7 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// The hash code is only a function of the
|
/// The hash code is only a function of the
|
||||||
/// <see cref="ATNState.stateNumber">ATNState.stateNumber</see>
|
/// <see cref="ATNState.stateNumber">ATNState.stateNumber</see>
|
||||||
/// and
|
/// and
|
||||||
/// <see cref="ATNConfig.context"/>
|
/// <see cref="ATNConfig.Context"/>
|
||||||
/// .
|
/// .
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public override int GetHashCode(ATNConfig o)
|
public override int GetHashCode(ATNConfig o)
|
||||||
|
@ -381,12 +381,12 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// and singleton subsets with
|
/// and singleton subsets with
|
||||||
/// non-conflicting configurations. Two configurations conflict if they have
|
/// non-conflicting configurations. Two configurations conflict if they have
|
||||||
/// identical
|
/// identical
|
||||||
/// <see cref="ATNConfig.state">ATNConfig#state</see>
|
/// <see cref="ATNConfig.State"/>
|
||||||
/// and
|
/// and
|
||||||
/// <see cref="ATNConfig.context">ATNConfig#context</see>
|
/// <see cref="ATNConfig.Context"/>
|
||||||
/// values
|
/// values
|
||||||
/// but different
|
/// but different
|
||||||
/// <see cref="ATNConfig.Alt()">ATNConfig.Alt()</see>
|
/// <see cref="ATNConfig.Alt"/>
|
||||||
/// value, e.g.
|
/// value, e.g.
|
||||||
/// <code>(s, i, ctx, _)</code>
|
/// <code>(s, i, ctx, _)</code>
|
||||||
/// and
|
/// and
|
||||||
|
@ -861,9 +861,9 @@ namespace Antlr4.Runtime.Atn
|
||||||
/// :
|
/// :
|
||||||
/// <pre>
|
/// <pre>
|
||||||
/// map[c.
|
/// map[c.
|
||||||
/// <see cref="ATNConfig.state">state</see>
|
/// <see cref="ATNConfig.State"/>
|
||||||
/// ] U= c.
|
/// ] U= c.
|
||||||
/// <see cref="ATNConfig.Alt()">getAlt()</see>
|
/// <see cref="ATNConfig.Alt"/>
|
||||||
/// </pre>
|
/// </pre>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[return: NotNull]
|
[return: NotNull]
|
||||||
|
|
|
@ -244,7 +244,7 @@ namespace Antlr4.Runtime.Misc
|
||||||
/// <see cref="Size()">Size()</see>
|
/// <see cref="Size()">Size()</see>
|
||||||
/// is 1;
|
/// is 1;
|
||||||
/// otherwise, returns
|
/// otherwise, returns
|
||||||
/// <see cref="Antlr4.Runtime.IToken.InvalidType">Antlr4.Runtime.IToken.InvalidType</see>
|
/// <see cref="TokenConstants.InvalidType"/>
|
||||||
/// .
|
/// .
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
|
@ -252,7 +252,7 @@ namespace Antlr4.Runtime.Misc
|
||||||
/// <see cref="Size()">Size()</see>
|
/// <see cref="Size()">Size()</see>
|
||||||
/// is 1;
|
/// is 1;
|
||||||
/// otherwise, returns
|
/// otherwise, returns
|
||||||
/// <see cref="Antlr4.Runtime.IToken.InvalidType">Antlr4.Runtime.IToken.InvalidType</see>
|
/// <see cref="TokenConstants.InvalidType"/>
|
||||||
/// .
|
/// .
|
||||||
/// </returns>
|
/// </returns>
|
||||||
int GetSingleElement();
|
int GetSingleElement();
|
||||||
|
|
|
@ -554,7 +554,7 @@ namespace Antlr4.Runtime.Misc
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// the maximum value contained in the set. If the set is empty, this
|
/// the maximum value contained in the set. If the set is empty, this
|
||||||
/// method returns
|
/// method returns
|
||||||
/// <see cref="Antlr4.Runtime.IToken.InvalidType">Antlr4.Runtime.IToken.InvalidType</see>
|
/// <see cref="TokenConstants.InvalidType"/>
|
||||||
/// .
|
/// .
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public virtual int GetMaxElement()
|
public virtual int GetMaxElement()
|
||||||
|
@ -572,7 +572,7 @@ namespace Antlr4.Runtime.Misc
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// the minimum value contained in the set. If the set is empty, this
|
/// the minimum value contained in the set. If the set is empty, this
|
||||||
/// method returns
|
/// method returns
|
||||||
/// <see cref="Antlr4.Runtime.IToken.InvalidType">Antlr4.Runtime.IToken.InvalidType</see>
|
/// <see cref="TokenConstants.InvalidType"/>
|
||||||
/// .
|
/// .
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public virtual int GetMinElement()
|
public virtual int GetMinElement()
|
||||||
|
|
|
@ -95,7 +95,7 @@ namespace Antlr4.Runtime.Tree.Pattern
|
||||||
/// object that
|
/// object that
|
||||||
/// contains the parse tree, the parse tree pattern, and a map from tag name to
|
/// contains the parse tree, the parse tree pattern, and a map from tag name to
|
||||||
/// matched nodes (more below). A subtree that fails to match, returns with
|
/// matched nodes (more below). A subtree that fails to match, returns with
|
||||||
/// <see cref="ParseTreeMatch.mismatchedNode"/>
|
/// <see cref="ParseTreeMatch.GetMismatchedNode"/>
|
||||||
/// set to the first tree node that did not
|
/// set to the first tree node that did not
|
||||||
/// match.</p>
|
/// match.</p>
|
||||||
/// <p>For efficiency, you can compile a tree pattern in string form to a
|
/// <p>For efficiency, you can compile a tree pattern in string form to a
|
||||||
|
@ -391,7 +391,7 @@ namespace Antlr4.Runtime.Tree.Pattern
|
||||||
/// <code>patternTree</code>
|
/// <code>patternTree</code>
|
||||||
/// , filling
|
/// , filling
|
||||||
/// <code>match.</code>
|
/// <code>match.</code>
|
||||||
/// <see cref="ParseTreeMatch.labels"/>
|
/// <see cref="ParseTreeMatch.GetLabels"/>
|
||||||
/// .
|
/// .
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
|
|
Loading…
Reference in New Issue