ParserRuleContextExtension.GetTextWithWhitespace(ParserRuleContext)
Method in ParserRuleContextExtension
Summary
Returns the original text of this Antlr4.Runtime.ParserRuleContext ,
including all whitespace, comments, and other information that the
parser would otherwise not include.
public static string GetTextWithWhitespace(this ParserRuleContext context)Parameters
| Name | Description |
|---|---|
Antlr4.Runtime.ParserRuleContext context |
Returns
The original text of this expression.