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 action is implemented by calling
- /// This action is implemented by calling
- /// channel
/// lexer action by calling
- /// null
/// , to be non-
@@ -240,13 +240,13 @@ namespace Antlr4.Runtime.Atn
/// parser.
/// (
- /// )
/// ;
/// parser.
- ///
///
(s, j, ctx, _)
/// for
/// i!=j
- /// .
+ /// .myparser.setErrorHandler(new BailErrorStrategy());
///
/// By default, tokens are placed on the default channel
/// (
- /// ->channel(HIDDEN)
/// lexer command, or by using an embedded action to
/// call
- ///
@@ -78,7 +78,7 @@ namespace Antlr4.Runtime /// Specifies the channel to use for filtering tokens. ///
/// The default value is
- ///
- /// 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
/// If the final token in the list is an
- /// For example, for pattern
- /// Pattern tags like
- /// 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
{
/// Patterns are strings of source input text with special tags representing
/// token or rule references such as:
- /// Given a pattern start rule such as
/// For efficiency, you can compile a tree pattern in string form to a
@@ -118,7 +118,7 @@ namespace Antlr4.Runtime.Tree.Pattern
/// Normally a parser does not accept token
- /// Delimiters are
@@ -391,7 +391,7 @@ namespace Antlr4.Runtime.Tree.Pattern
/// Rule tag tokens are always placed on the
- /// label
/// .
///
+ /// <id:ID>
/// ,
/// get("id")
/// returns the
@@ -146,9 +146,9 @@ namespace Antlr4.Runtime.Tree.Pattern
/// null
/// .
+ /// <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.
///
///
@@ -227,9 +227,9 @@ namespace Antlr4.Runtime.Tree.Pattern
return nodes;
}
- ///
+ /// <foo:anyRuleName>
/// and
- ///
+ /// <foo:AnyTokenName>
/// .
+ /// <anyLabel:foo>
/// .
+ /// <foo>
/// .
+ /// <ID> = <expr>;
/// converted to a
///
+ /// <ID> = <expr>;
/// statement
@@ -61,12 +61,12 @@ namespace Antlr4.Runtime.Tree.Pattern
/// routines can compare an actual
///
+ /// <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
- ///
+ /// <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.
+ /// <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
///
+ /// <expr>
/// ) to match entire rules. We call
/// these bypass alternatives.patternTree
/// , filling
/// match.
- /// t
///
- /// (expr
+ /// (expr <expr>)
/// subtree?
///
protected internal virtual RuleTagToken GetRuleTagToken(IParseTree t)
@@ -599,7 +599,7 @@ namespace Antlr4.Runtime.Tree.Pattern
///
+ /// <ID> = <e:expr> ;
/// into 4 chunks for tokenizing by
///
+ /// <expr>
/// . These tokens are created for
///