internal static IEnumerable <LanguageSymbol> MainSymbols(this GMacAst rootAst) { return (rootAst.ChildNamespaces.Concat( rootAst.Namespaces().SelectMany(MainSymbols) )); }
internal GMacAstSymbolsCache(GMacAst rootAst) { GMacRootAst = rootAst; RootSymbol = null; InitializeDictionaries(GMacRootAst.MainSymbols()); }
internal static IEnumerable <ILanguageType> FrameTypes(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(FrameTypes)); }
internal static IEnumerable <ILanguageType> Types(this GMacAst rootAst) { var primitiveTypes = new[] { rootAst.BooleanType, rootAst.IntegerType, rootAst.ScalarType }; return(primitiveTypes.Concat(rootAst.ChildNamespaces.SelectMany(Types))); }
internal static IEnumerable <GMacMacro> StructureMacros(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(StructureMacros)); }
internal static IEnumerable <GMacStructure> FrameStructures(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(FrameStructures)); }
internal static IEnumerable <GMacFrameMultivector> FrameMultivectors(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(FrameMultivectors)); }
internal static IEnumerable <GMacConstant> FrameConstants(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(FrameConstants)); }
internal static IEnumerable <SymbolNamedValue> FrameNamedValues(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(FrameNamedValues)); }
internal static IEnumerable <GMacNamespace> Namespaces(this GMacAst rootAst) { return(rootAst.ChildNamespaces.SelectMany(Namespaces)); }
internal GMacSymbolicMathNames(GMacAst root) { GMacRootAst = root; }