YamlUtility.Grammar.YamlParser.ParseSecondaryTagHandle C# (CSharp) Method

ParseSecondaryTagHandle() private method

private ParseSecondaryTagHandle ( bool &success ) : SecondaryTagHandle
success bool
return SecondaryTagHandle
        private SecondaryTagHandle ParseSecondaryTagHandle(out bool success)
        {
            int errorCount = Errors.Count;
            SecondaryTagHandle secondaryTagHandle = new SecondaryTagHandle();

            MatchTerminalString("!!", out success);
            if (success) { ClearError(errorCount); }
            else { Error("Failed to parse '!!' of SecondaryTagHandle."); }
            return secondaryTagHandle;
        }
YamlParser