Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

ParserRuleContextExtension

Contains extension methods for ParserRuleContext objects.
public static class ParserRuleContextExtension

Inherits from System.Object

#Methods

#GetTextWithWhitespace(ParserRuleContext)

Returns the original text of this ParserRuleContext, including all whitespace, comments, and other information that the parser would otherwise not include.
public static string GetTextWithWhitespace(this ParserRuleContext context)

Parameters

  • contextParserRuleContext

Returns String: The original text of this expression.

Generated from Yarn Spinner for Unity 3.3.