INNER CODE UNIT · C#

classSpans

ArcadeMakerSources/ArcadeMaker · src/ArcadeMaker.IDE/CodeChecker.cs:340

                            List<CodeSpan> classSpans = ReadBlock(nsSpans, i + 1, out beforeSpans).ToList();
                            classSpans.InsertRange(0, beforeSpans);
                            i += classSpans.Count + 2; // +2 for 2 braces
                            Build(@class, classSpans.ToArray());
                            items.Add(item);
                            item = new NamespaceMember();
                        }
                        else
                        {
                            throw new NameDoesNotExistsInCurrentContextException(span.text);
                        }
                    }
                }
                else if (context is Class c)
                {
                    // read generic types
                    if (c.Name != null && span.type == SpanType.Brace && span.text == "<")
                    {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…