Utility.GetRange(ParserRuleContext)

Method in Utility

Summary

Gets the range covered by a Antlr4.Runtime.ParserRuleContext in the source code.

public static Range GetRange(ParserRuleContext context)

Parameters

NameDescription
Antlr4.Runtime.ParserRuleContext contextThe context to get a range for.

Returns

The Range covered by this context.