NotationSiteFiles class final
A site's files as the expander reads them.
Constructors
-
NotationSiteFiles(Map<
String, String> files, {Catalog? catalog}) -
Reads
files(path → text). The manifest issite/site.json, elsesite.json; the pages arepages/*.txt(elsesite/pages/*.txt), the componentscomponents/*.txt(andsite/components/*.txt). Any other file is not read.catalogsays which words the notation already has (a component of such a name is said).
Properties
-
definedWords
→ Map<
String, String> -
The words definitionFiles define, by the file that defines each.
latefinal
-
definitionFiles
→ Map<
String, String> -
The
components/*.txtthat aredefine(orprimitive) blocks, by path: each word they define is the site's, read by every page and component.final - definitionText → String?
-
definitionFiles as one text, for parseNotation's
definitions; null when there are none.latefinal -
files
→ Map<
String, String> -
The files, by path with
/between its parts.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
listedScreens
→ List<
String> -
The ids of the pages the manifest lists (each reference's file stem).
latefinal
- manifest ↔ Json
-
The manifest as read (empty when there is none, or it is not JSON).
getter/setter pair
- manifestPath → String
-
The manifest's path among files.
no setter
-
orderedPageSources
→ List<
String> -
The pages written in the notation in the order shown: the manifest's
order, then the others in file order.
latefinal
- ownTheme → ThemeTokens
-
The site's own theme (its manifest's).
latefinal
-
pageSources
→ List<
String> -
The pages written in the notation, by path, in file order.
latefinal
-
problems
→ List<
NotationSiteProblem> -
What is not read or must be said: a manifest that is not JSON, a
component file that is neither a component nor definitions, a second
file of one type, what a file of definitions has wrong, a word that
reaches itself through the words of other files.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screens
→ List<
String> -
The ids of the site's pages: the ones the manifest lists, then the
ones written that it does not.
latefinal
-
sources
→ Map<
String, NotationComponentSource> -
The components written in the notation with a
componenthead, by type.final -
variables
→ Map<
String, Json> -
The site's variables by name, as NotationOptions.projectVariables
takes them.
latefinal
Methods
-
definitionLine(
int line) → ({int line, String path})? -
Where a line of the site's definitions is written:
lineof definitionText as its file and the line in it; null past the end. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ordered(
) → List< NotationComponentSource> - The notation components in the order they can be expanded: each after the components it calls.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited