INNER CODE UNIT · C#

afterIndex

axmolengine/axmol · tools/bindings-generator/src/BindingGenerator.cs:1147

            var afterIndex = match.Index + match.Length;
            var replacement = token;
            var isNumericSuffix = match.Index > 0 &&
                                  (char.IsDigit(before) || before == '.') &&
                                  (token is "f" or "F" or "l" or "L" or "u" or "U" or "ll" or "LL");
            if (before != ':' && !isNumericSuffix && !IsBuiltinTypeToken(token))
            {
                replacement = FindQualifiedType(token, contextParts, tree) ?? token;
            }
            result.Append(replacement);
            position = afterIndex;
        }
        result.Append(type, position, type.Length - position);
        return result.ToString();
    }

    private static string ExpandCallableAliases(string type, CursorTree tree)
    {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…