diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/ATNDeserializer.cs b/runtime/CSharp/Antlr4.Runtime/Atn/ATNDeserializer.cs index 3f1aad59a..9eaff6ea7 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/ATNDeserializer.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/ATNDeserializer.cs @@ -49,7 +49,7 @@ namespace Antlr4.Runtime.Atn /// /// This UUID indicates an extension of - /// #ADDED_PRECEDENCE_TRANSITIONS + /// /// for the addition of lexer actions encoded as a sequence of /// ILexerAction /// instances. @@ -100,19 +100,19 @@ namespace Antlr4.Runtime.Atn /// /// Determines if a particular serialized representation of an ATN supports /// a particular feature, identified by the - /// Sharpen.UUID + /// /// used for serializing /// the ATN at the time the feature was first introduced. /// /// /// The - /// Sharpen.UUID + /// /// marking the first time the feature was /// supported in the serialized ATN. /// /// /// The - /// Sharpen.UUID + /// /// of the actual serialized ATN which is /// currently being deserialized. /// diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/LexerActionExecutor.cs b/runtime/CSharp/Antlr4.Runtime/Atn/LexerActionExecutor.cs index a68cfebfb..71b79c3f4 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/LexerActionExecutor.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/LexerActionExecutor.cs @@ -59,7 +59,7 @@ namespace Antlr4.Runtime.Atn /// hashCode /// since the hash code is an element /// of the performance-critical - /// LexerATNConfig#hashCode + /// /// operation. /// private readonly int hashCode; diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/LexerChannelAction.cs b/runtime/CSharp/Antlr4.Runtime/Atn/LexerChannelAction.cs index c31788116..0894dbe1d 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/LexerChannelAction.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/LexerChannelAction.cs @@ -38,7 +38,7 @@ namespace Antlr4.Runtime.Atn /// Implements the /// channel /// lexer action by calling - /// Antlr4.Runtime.Lexer.Channel(int) + /// /// with the assigned channel. /// /// Sam Harwell @@ -54,7 +54,7 @@ namespace Antlr4.Runtime.Atn /// /// /// The channel value to pass to - /// Antlr4.Runtime.Lexer.Channel(int) + /// /// . /// public LexerChannelAction(int channel) @@ -102,7 +102,7 @@ namespace Antlr4.Runtime.Atn /// /// ///

This action is implemented by calling - /// Antlr4.Runtime.Lexer.Channel(int) + /// /// with the /// value provided by /// GetChannel() diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/LexerTypeAction.cs b/runtime/CSharp/Antlr4.Runtime/Atn/LexerTypeAction.cs index 6d7a59103..ad6996106 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/LexerTypeAction.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/LexerTypeAction.cs @@ -95,7 +95,7 @@ namespace Antlr4.Runtime.Atn ///

/// ///

This action is implemented by calling - /// Antlr4.Runtime.Lexer.Type(int) + /// /// with the /// value provided by /// GetType() diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs b/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs index b2b1d4368..976aed008 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/ParserATNSimulator.cs @@ -180,7 +180,7 @@ namespace Antlr4.Runtime.Atn /// it adds a new DFA object to that array. /// AddDFAEdge(Antlr4.Runtime.Dfa.DFAState, int, Antlr4.Runtime.Dfa.DFAState) /// locks on the DFA for the current decision when setting the - /// DFAState#edges + /// /// field. /// AddDFAState(Antlr4.Runtime.Dfa.DFA, ATNConfigSet, PredictionContextCache) /// locks on @@ -204,10 +204,10 @@ namespace Antlr4.Runtime.Atn /// . Once into the DFA, the DFA simulation does not reference the /// Antlr4.Runtime.Dfa.DFA.states /// map. It follows the - /// DFAState#edges + /// /// field to new /// targets. The DFA simulator will either find - /// DFAState#edges + /// /// to be /// null /// , to be non- @@ -240,13 +240,13 @@ namespace Antlr4.Runtime.Atn /// parser. /// getInterpreter() /// . - /// setPredictionMode + /// /// ( - /// PredictionMode.Sll + /// /// ) /// ; /// parser. - /// setErrorHandler + /// /// (new /// Antlr4.Runtime.BailErrorStrategy /// ()); @@ -1444,7 +1444,7 @@ namespace Antlr4.Runtime.Atn /// set. ///

    ///
  1. Evaluate the precedence predicates for each configuration using - /// SemanticContext.EvalPrecedence(Antlr4.Runtime.Recognizer<Symbol, ATNInterpreter>, Antlr4.Runtime.RuleContext) + /// /// .
  2. ///
  3. Remove all configurations which predict an alternative greater than /// 1, for which another configuration that predicts alternative 1 is in the diff --git a/runtime/CSharp/Antlr4.Runtime/Atn/PredictionMode.cs b/runtime/CSharp/Antlr4.Runtime/Atn/PredictionMode.cs index 7ed58b141..f7d60612a 100644 --- a/runtime/CSharp/Antlr4.Runtime/Atn/PredictionMode.cs +++ b/runtime/CSharp/Antlr4.Runtime/Atn/PredictionMode.cs @@ -137,7 +137,7 @@ namespace Antlr4.Runtime.Atn /// The hash code is only a function of the /// ATNState.stateNumber /// and - /// ATNConfig#context + /// /// . ///
public override int GetHashCode(ATNConfig o) @@ -393,7 +393,7 @@ namespace Antlr4.Runtime.Atn /// (s, j, ctx, _) /// for /// i!=j - /// . + /// .

///

/// Reduce these configuration subsets to the set of possible alternatives. /// You can compute the alternative subsets in one pass as follows: diff --git a/runtime/CSharp/Antlr4.Runtime/BailErrorStrategy.cs b/runtime/CSharp/Antlr4.Runtime/BailErrorStrategy.cs index f47860d67..9fbd765a1 100644 --- a/runtime/CSharp/Antlr4.Runtime/BailErrorStrategy.cs +++ b/runtime/CSharp/Antlr4.Runtime/BailErrorStrategy.cs @@ -65,7 +65,7 @@ namespace Antlr4.Runtime /// myparser.setErrorHandler(new BailErrorStrategy()); ///

///
- /// Parser.ErrorHandler(IAntlrErrorStrategy) + /// public class BailErrorStrategy : DefaultErrorStrategy { /// diff --git a/runtime/CSharp/Antlr4.Runtime/BufferedTokenStream.cs b/runtime/CSharp/Antlr4.Runtime/BufferedTokenStream.cs index ea12e8f12..f509dc818 100644 --- a/runtime/CSharp/Antlr4.Runtime/BufferedTokenStream.cs +++ b/runtime/CSharp/Antlr4.Runtime/BufferedTokenStream.cs @@ -49,9 +49,9 @@ namespace Antlr4.Runtime /// . If your /// parser requires the token stream filter tokens to only those on a particular /// channel, such as - /// IToken.DefaultChannel + /// /// or - /// IToken.HiddenChannel + /// /// , use a filtering token stream such a /// CommonTokenStream /// .

@@ -104,7 +104,7 @@ namespace Antlr4.Runtime /// /// Indicates whether the - /// IToken.Eof + /// /// token has been fetched from /// tokenSource /// and added to @@ -129,7 +129,7 @@ namespace Antlr4.Runtime /// : The check to prevent adding multiple EOF symbols into /// tokens /// is trivial with this field. - ///
    + ///
///
protected internal bool fetchedEOF; diff --git a/runtime/CSharp/Antlr4.Runtime/CommonToken.cs b/runtime/CSharp/Antlr4.Runtime/CommonToken.cs index e49556ee1..8ff4a2b7c 100644 --- a/runtime/CSharp/Antlr4.Runtime/CommonToken.cs +++ b/runtime/CSharp/Antlr4.Runtime/CommonToken.cs @@ -43,7 +43,7 @@ namespace Antlr4.Runtime /// /// An empty - /// Antlr4.Runtime.Misc.Tuple2<T1, T2> + /// /// which is used as the default value of /// source /// for tokens that do not have a source. @@ -51,38 +51,22 @@ namespace Antlr4.Runtime protected internal static readonly Tuple EmptySource = Tuple.Create(null, null); /// - /// This is the backing field for - /// Type() - /// and - /// Type(int) - /// . + /// This is the backing field for the property. /// protected internal int type; /// - /// This is the backing field for - /// Line() - /// and - /// Line(int) - /// . + /// This is the backing field for the property. /// protected internal int line; /// - /// This is the backing field for - /// Column() - /// and - /// Column(int) - /// . + /// This is the backing field for the property. /// protected internal int charPositionInLine = -1; /// - /// This is the backing field for - /// Channel() - /// and - /// Channel(int) - /// . + /// This is the backing field for the property. /// protected internal int channel = TokenConstants.DefaultChannel; @@ -99,47 +83,30 @@ namespace Antlr4.Runtime /// CommonTokenFactory /// from /// the same source and input stream share a reference to the same - /// Antlr4.Runtime.Misc.Tuple2<T1, T2> + /// /// containing these values.

///
[NotNull] protected internal Tuple source; /// - /// This is the backing field for - /// Text() - /// when the token text is - /// explicitly set in the constructor or via - /// Text(string) - /// . + /// This is the backing field for the property. /// - /// Text() + /// protected internal string text; /// - /// This is the backing field for - /// TokenIndex() - /// and - /// TokenIndex(int) - /// . + /// This is the backing field for the property. /// protected internal int index = -1; /// - /// This is the backing field for - /// StartIndex() - /// and - /// SetStartIndex(int) - /// . + /// This is the backing field for the property. /// protected internal int start; /// - /// This is the backing field for - /// StopIndex() - /// and - /// SetStopIndex(int) - /// . + /// This is the backing field for the property. /// protected internal int stop; @@ -202,7 +169,7 @@ namespace Antlr4.Runtime /// text /// field and /// the - /// Antlr4.Runtime.Misc.Tuple2<T1, T2> + /// /// stored in /// source /// . Otherwise, diff --git a/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs b/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs index f22c5bebb..c4d8a1969 100644 --- a/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs +++ b/runtime/CSharp/Antlr4.Runtime/CommonTokenFactory.cs @@ -55,7 +55,7 @@ namespace Antlr4.Runtime /// /// Indicates whether - /// CommonToken.Text(string) + /// /// should be called after /// constructing tokens to explicitly set the text. This is useful for cases /// where the input stream might not be able to provide arbitrary substrings diff --git a/runtime/CSharp/Antlr4.Runtime/CommonTokenStream.cs b/runtime/CSharp/Antlr4.Runtime/CommonTokenStream.cs index 906622cf1..dee52916b 100644 --- a/runtime/CSharp/Antlr4.Runtime/CommonTokenStream.cs +++ b/runtime/CSharp/Antlr4.Runtime/CommonTokenStream.cs @@ -54,12 +54,12 @@ namespace Antlr4.Runtime ///

/// By default, tokens are placed on the default channel /// ( - /// IToken.DefaultChannel + /// /// ), but may be reassigned by using the /// ->channel(HIDDEN) /// lexer command, or by using an embedded action to /// call - /// Lexer.Channel(int) + /// /// . ///

///

@@ -78,7 +78,7 @@ namespace Antlr4.Runtime /// Specifies the channel to use for filtering tokens. ///

/// The default value is - /// IToken.DefaultChannel + /// /// , which matches the /// default channel assigned to tokens created by the lexer.

/// @@ -89,7 +89,7 @@ namespace Antlr4.Runtime /// CommonTokenStream /// using the specified token /// source and the default token channel ( - /// IToken.DefaultChannel + /// /// ). ///
/// The token source. @@ -109,7 +109,7 @@ namespace Antlr4.Runtime /// or have the /// IToken.Type() /// equal to - /// IToken.Eof + /// /// will be returned by the /// token stream lookahead methods. ///
diff --git a/runtime/CSharp/Antlr4.Runtime/ConsoleErrorListener.cs b/runtime/CSharp/Antlr4.Runtime/ConsoleErrorListener.cs index f0cf5a3bf..83d7180ef 100644 --- a/runtime/CSharp/Antlr4.Runtime/ConsoleErrorListener.cs +++ b/runtime/CSharp/Antlr4.Runtime/ConsoleErrorListener.cs @@ -40,7 +40,7 @@ namespace Antlr4.Runtime { /// /// Provides a default instance of - /// ConsoleErrorListener + /// /// . /// public static readonly ConsoleErrorListener Instance = new ConsoleErrorListener(); diff --git a/runtime/CSharp/Antlr4.Runtime/DefaultErrorStrategy.cs b/runtime/CSharp/Antlr4.Runtime/DefaultErrorStrategy.cs index bcbc4883b..d626071b0 100644 --- a/runtime/CSharp/Antlr4.Runtime/DefaultErrorStrategy.cs +++ b/runtime/CSharp/Antlr4.Runtime/DefaultErrorStrategy.cs @@ -527,7 +527,7 @@ namespace Antlr4.Runtime /// , it will have /// call chain:

///
-        /// stat → expr → atom
+        /// stat → expr → atom
         /// 
/// and it will be trying to match the /// ')' diff --git a/runtime/CSharp/Antlr4.Runtime/Dfa/DFA.cs b/runtime/CSharp/Antlr4.Runtime/Dfa/DFA.cs index a3c2ec2f5..ec33534cb 100644 --- a/runtime/CSharp/Antlr4.Runtime/Dfa/DFA.cs +++ b/runtime/CSharp/Antlr4.Runtime/Dfa/DFA.cs @@ -97,7 +97,7 @@ namespace Antlr4.Runtime.Dfa /// which is not stored in /// states /// . The - /// DFAState#edges + /// /// array for this start state contains outgoing edges /// supplying individual start states corresponding to specific precedence /// values. @@ -199,7 +199,7 @@ namespace Antlr4.Runtime.Dfa /// ; otherwise, it is initialized to a new /// DFAState /// with an empty outgoing - /// DFAState#edges + /// /// array to /// store the start states for individual precedence values. ///
  • The diff --git a/runtime/CSharp/Antlr4.Runtime/Dfa/DFAState.cs b/runtime/CSharp/Antlr4.Runtime/Dfa/DFAState.cs index aef8bd950..d4361b761 100644 --- a/runtime/CSharp/Antlr4.Runtime/Dfa/DFAState.cs +++ b/runtime/CSharp/Antlr4.Runtime/Dfa/DFAState.cs @@ -48,7 +48,7 @@ namespace Antlr4.Runtime.Dfa /// input a1a2..an, the DFA is in a state that represents the /// subset T of the states of the ATN that are reachable from the /// ATN's start state along some path labeled a1a2..an." - /// In conventional NFA→DFA conversion, therefore, the subset T + /// In conventional NFA→DFA conversion, therefore, the subset T /// would be a bitset representing the set of states the /// ATN could be in. We need to track the alt predicted by each /// state as well, however. More importantly, we need to maintain diff --git a/runtime/CSharp/Antlr4.Runtime/ITokenSource.cs b/runtime/CSharp/Antlr4.Runtime/ITokenSource.cs index 1b6dbb5bc..5db0faa8f 100644 --- a/runtime/CSharp/Antlr4.Runtime/ITokenSource.cs +++ b/runtime/CSharp/Antlr4.Runtime/ITokenSource.cs @@ -124,7 +124,7 @@ namespace Antlr4.Runtime /// Gets the name of the underlying input source. This method returns a /// non-null, non-empty string. If such a name is not known, this method /// returns - /// IIntStream.UnknownSourceName + /// /// . /// string SourceName diff --git a/runtime/CSharp/Antlr4.Runtime/ListTokenSource.cs b/runtime/CSharp/Antlr4.Runtime/ListTokenSource.cs index 17234b5c7..be868a1dc 100644 --- a/runtime/CSharp/Antlr4.Runtime/ListTokenSource.cs +++ b/runtime/CSharp/Antlr4.Runtime/ListTokenSource.cs @@ -42,7 +42,7 @@ namespace Antlr4.Runtime /// IToken /// objects. ///

    If the final token in the list is an - /// IToken.Eof + /// /// token, it will be used /// as the EOF token for every call to /// NextToken() @@ -89,11 +89,7 @@ namespace Antlr4.Runtime protected internal IToken eofToken; ///

    - /// This is the backing field for - /// TokenFactory() - /// and - /// setTokenFactory - /// . + /// This is the backing field for the property. /// private ITokenFactory _factory = CommonTokenFactory.Default; diff --git a/runtime/CSharp/Antlr4.Runtime/Misc/Utils.cs b/runtime/CSharp/Antlr4.Runtime/Misc/Utils.cs index 970da93c8..ea4104a72 100644 --- a/runtime/CSharp/Antlr4.Runtime/Misc/Utils.cs +++ b/runtime/CSharp/Antlr4.Runtime/Misc/Utils.cs @@ -143,10 +143,10 @@ namespace Antlr4.Runtime.Misc } } - /// Convert array of strings to string→index map. + /// Convert array of strings to string→index map. /// - /// Convert array of strings to string→index map. Useful for - /// converting rulenames to name→ruleindex map. + /// Convert array of strings to string→index map. Useful for + /// converting rulenames to name→ruleindex map. /// public static IDictionary ToMap(string[] keys) { diff --git a/runtime/CSharp/Antlr4.Runtime/TokenStreamRewriter.cs b/runtime/CSharp/Antlr4.Runtime/TokenStreamRewriter.cs index 8ea8a657c..861b16de3 100644 --- a/runtime/CSharp/Antlr4.Runtime/TokenStreamRewriter.cs +++ b/runtime/CSharp/Antlr4.Runtime/TokenStreamRewriter.cs @@ -239,11 +239,11 @@ namespace Antlr4.Runtime /// /// You may have multiple, named streams of rewrite operations. /// I'm calling these things "programs." - /// Maps String (name) → rewrite (List) + /// Maps String (name) → rewrite (List) /// protected internal readonly IDictionary> programs; - /// Map String (program name) → Integer index + /// Map String (program name) → Integer index protected internal readonly IDictionary lastRewriteTokenIndexes; public TokenStreamRewriter(ITokenStream tokens) @@ -578,7 +578,7 @@ namespace Antlr4.Runtime /// insert with replace and delete this replace. /// 3. throw exception if index in same range as previous replace /// Don't actually delete; make op null in list. Easier to walk list. - /// Later we can throw as we add to index → op map. + /// Later we can throw as we add to index → op map. /// Note that I.2 R.2-2 will wipe out I.2 even though, technically, the /// inserted stuff would be before the replace range. But, if you /// add tokens in front of a method body '{' and then delete the method diff --git a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreeMatch.cs b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreeMatch.cs index ee96f704a..671c858ad 100644 --- a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreeMatch.cs +++ b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreeMatch.cs @@ -134,7 +134,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// label /// . ///

    For example, for pattern - /// + /// <id:ID> /// , /// get("id") /// returns the @@ -146,9 +146,9 @@ namespace Antlr4.Runtime.Tree.Pattern /// null /// .

    ///

    Pattern tags like - /// + /// <ID> /// and - /// + /// <expr> /// without labels are /// considered to be labeled with /// ID @@ -194,15 +194,15 @@ namespace Antlr4.Runtime.Tree.Pattern /// the result will contain all of the following.

    ///
      ///
    • Parse tree nodes matching tags of the form - /// + /// <foo:anyRuleName> /// and - /// + /// <foo:AnyTokenName> /// .
    • ///
    • Parse tree nodes matching tags of the form - /// + /// <anyLabel:foo> /// .
    • ///
    • Parse tree nodes matching tags of the form - /// + /// <foo> /// .
    • ///
    /// @@ -227,9 +227,9 @@ namespace Antlr4.Runtime.Tree.Pattern return nodes; } - /// Return a mapping from label → [list of nodes]. + /// Return a mapping from label → [list of nodes]. /// - /// Return a mapping from label → [list of nodes]. + /// Return a mapping from label → [list of nodes]. ///

    The map includes special entries corresponding to the names of rules and /// tokens referenced in tags in the original pattern. For additional /// information, see the description of diff --git a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePattern.cs b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePattern.cs index ff70789ef..ee734f628 100644 --- a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePattern.cs +++ b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePattern.cs @@ -38,7 +38,7 @@ namespace Antlr4.Runtime.Tree.Pattern { ///

    /// A pattern like - /// = ; + /// <ID> = <expr>; /// converted to a /// Antlr4.Runtime.Tree.IParseTree /// by diff --git a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePatternMatcher.cs b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePatternMatcher.cs index ba94f7db1..b399cae90 100644 --- a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePatternMatcher.cs +++ b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/ParseTreePatternMatcher.cs @@ -45,7 +45,7 @@ namespace Antlr4.Runtime.Tree.Pattern ///

    Patterns are strings of source input text with special tags representing /// token or rule references such as:

    ///

    - /// = ; + /// <ID> = <expr>; ///

    ///

    Given a pattern start rule such as /// statement @@ -61,12 +61,12 @@ namespace Antlr4.Runtime.Tree.Pattern /// routines can compare an actual /// Antlr4.Runtime.Tree.IParseTree /// from a parse with this pattern. Tag - /// + /// <ID> /// matches /// any /// ID /// token and tag - /// + /// <expr> /// references the result of the /// expr /// rule (generally an instance of @@ -95,7 +95,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// object that /// 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 - /// ParseTreeMatch#mismatchedNode + /// /// set to the first tree node that did not /// match.

    ///

    For efficiency, you can compile a tree pattern in string form to a @@ -118,7 +118,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// ParseTreePatternMatcher /// constructor are used to parse the pattern in string form. The lexer converts /// the - /// = ; + /// <ID> = <expr>; /// into a sequence of four tokens (assuming lexer /// throws out whitespace or puts it on a hidden channel). Be aware that the /// input stream is reset for the lexer (but not the parser; a @@ -127,7 +127,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// fields you have put into the lexer might get changed when this mechanism asks /// it to scan the pattern string.

    ///

    Normally a parser does not accept token - /// + /// <expr> /// as a valid /// expr /// but, from the parser passed in, we create a special version of @@ -135,7 +135,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// Antlr4.Runtime.Atn.ATN /// ) that allows imaginary /// tokens representing rules ( - /// + /// <expr> /// ) to match entire rules. We call /// these bypass alternatives.

    ///

    Delimiters are @@ -391,7 +391,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// patternTree /// , filling /// match. - /// labels + /// /// . ///

    /// @@ -519,7 +519,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// Is /// t /// - /// (expr ) + /// (expr <expr>) /// subtree? /// protected internal virtual RuleTagToken GetRuleTagToken(IParseTree t) @@ -599,7 +599,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// /// Split - /// = ; + /// <ID> = <e:expr> ; /// into 4 chunks for tokenizing by /// Tokenize(string) /// . diff --git a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/RuleTagToken.cs b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/RuleTagToken.cs index 32ac9b526..82e9e1a59 100644 --- a/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/RuleTagToken.cs +++ b/runtime/CSharp/Antlr4.Runtime/Tree/Pattern/RuleTagToken.cs @@ -39,7 +39,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// Antlr4.Runtime.IToken /// object representing an entire subtree matched by a parser /// rule; e.g., - /// + /// <expr> /// . These tokens are created for /// TagChunk /// chunks where the tag corresponds to a parser rule. @@ -146,7 +146,7 @@ namespace Antlr4.Runtime.Tree.Pattern /// /// ///

    Rule tag tokens are always placed on the - /// Antlr4.Runtime.IToken.DefaultChannel + /// /// .

    ///
    public virtual int Channel