|
|
|
|
@ -39,30 +39,6 @@ enum AvailableDeclarationKind : byte {
|
|
|
|
|
VARIABLE
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Enum representing nullability suffixes in summaries.
|
|
|
|
|
///
|
|
|
|
|
/// This enum is similar to [NullabilitySuffix], but the order is different so
|
|
|
|
|
/// that [EntityRefNullabilitySuffix.starOrIrrelevant] can be the default.
|
|
|
|
|
enum EntityRefNullabilitySuffix : byte {
|
|
|
|
|
/// An indication that the canonical representation of the type under
|
|
|
|
|
/// consideration ends with `*`. Types having this nullability suffix are
|
|
|
|
|
/// called "legacy types"; it has not yet been determined whether they should
|
|
|
|
|
/// be unioned with the Null type.
|
|
|
|
|
///
|
|
|
|
|
/// Also used in circumstances where no nullability suffix information is
|
|
|
|
|
/// needed.
|
|
|
|
|
starOrIrrelevant,
|
|
|
|
|
|
|
|
|
|
/// An indication that the canonical representation of the type under
|
|
|
|
|
/// consideration ends with `?`. Types having this nullability suffix should
|
|
|
|
|
/// be interpreted as being unioned with the Null type.
|
|
|
|
|
question,
|
|
|
|
|
|
|
|
|
|
/// An indication that the canonical representation of the type under
|
|
|
|
|
/// consideration does not end with either `?` or `*`.
|
|
|
|
|
none
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Enum used to indicate the kind of an index relation.
|
|
|
|
|
enum IndexRelationKind : byte {
|
|
|
|
|
/// Left: class.
|
|
|
|
|
@ -149,586 +125,6 @@ enum IndexSyntheticElementKind : byte {
|
|
|
|
|
unit
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Types of comments.
|
|
|
|
|
enum LinkedNodeCommentType : byte {
|
|
|
|
|
block,
|
|
|
|
|
|
|
|
|
|
documentation,
|
|
|
|
|
|
|
|
|
|
endOfLine
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Kinds of formal parameters.
|
|
|
|
|
enum LinkedNodeFormalParameterKind : byte {
|
|
|
|
|
requiredPositional,
|
|
|
|
|
|
|
|
|
|
optionalPositional,
|
|
|
|
|
|
|
|
|
|
optionalNamed,
|
|
|
|
|
|
|
|
|
|
requiredNamed
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Kinds of [LinkedNode].
|
|
|
|
|
enum LinkedNodeKind : byte {
|
|
|
|
|
adjacentStrings,
|
|
|
|
|
|
|
|
|
|
annotation,
|
|
|
|
|
|
|
|
|
|
argumentList,
|
|
|
|
|
|
|
|
|
|
asExpression,
|
|
|
|
|
|
|
|
|
|
assertInitializer,
|
|
|
|
|
|
|
|
|
|
assertStatement,
|
|
|
|
|
|
|
|
|
|
assignmentExpression,
|
|
|
|
|
|
|
|
|
|
awaitExpression,
|
|
|
|
|
|
|
|
|
|
binaryExpression,
|
|
|
|
|
|
|
|
|
|
block,
|
|
|
|
|
|
|
|
|
|
blockFunctionBody,
|
|
|
|
|
|
|
|
|
|
booleanLiteral,
|
|
|
|
|
|
|
|
|
|
breakStatement,
|
|
|
|
|
|
|
|
|
|
cascadeExpression,
|
|
|
|
|
|
|
|
|
|
catchClause,
|
|
|
|
|
|
|
|
|
|
classDeclaration,
|
|
|
|
|
|
|
|
|
|
classTypeAlias,
|
|
|
|
|
|
|
|
|
|
comment,
|
|
|
|
|
|
|
|
|
|
commentReference,
|
|
|
|
|
|
|
|
|
|
compilationUnit,
|
|
|
|
|
|
|
|
|
|
conditionalExpression,
|
|
|
|
|
|
|
|
|
|
configuration,
|
|
|
|
|
|
|
|
|
|
constructorDeclaration,
|
|
|
|
|
|
|
|
|
|
constructorFieldInitializer,
|
|
|
|
|
|
|
|
|
|
constructorName,
|
|
|
|
|
|
|
|
|
|
continueStatement,
|
|
|
|
|
|
|
|
|
|
declaredIdentifier,
|
|
|
|
|
|
|
|
|
|
defaultFormalParameter,
|
|
|
|
|
|
|
|
|
|
doubleLiteral,
|
|
|
|
|
|
|
|
|
|
doStatement,
|
|
|
|
|
|
|
|
|
|
dottedName,
|
|
|
|
|
|
|
|
|
|
emptyFunctionBody,
|
|
|
|
|
|
|
|
|
|
emptyStatement,
|
|
|
|
|
|
|
|
|
|
enumConstantDeclaration,
|
|
|
|
|
|
|
|
|
|
enumDeclaration,
|
|
|
|
|
|
|
|
|
|
exportDirective,
|
|
|
|
|
|
|
|
|
|
expressionFunctionBody,
|
|
|
|
|
|
|
|
|
|
expressionStatement,
|
|
|
|
|
|
|
|
|
|
extendsClause,
|
|
|
|
|
|
|
|
|
|
extensionDeclaration,
|
|
|
|
|
|
|
|
|
|
fieldDeclaration,
|
|
|
|
|
|
|
|
|
|
fieldFormalParameter,
|
|
|
|
|
|
|
|
|
|
formalParameterList,
|
|
|
|
|
|
|
|
|
|
forEachPartsWithDeclaration,
|
|
|
|
|
|
|
|
|
|
forEachPartsWithIdentifier,
|
|
|
|
|
|
|
|
|
|
forElement,
|
|
|
|
|
|
|
|
|
|
forPartsWithDeclarations,
|
|
|
|
|
|
|
|
|
|
forPartsWithExpression,
|
|
|
|
|
|
|
|
|
|
forStatement,
|
|
|
|
|
|
|
|
|
|
functionDeclaration,
|
|
|
|
|
|
|
|
|
|
functionDeclarationStatement,
|
|
|
|
|
|
|
|
|
|
functionExpression,
|
|
|
|
|
|
|
|
|
|
functionExpressionInvocation,
|
|
|
|
|
|
|
|
|
|
functionTypeAlias,
|
|
|
|
|
|
|
|
|
|
functionTypedFormalParameter,
|
|
|
|
|
|
|
|
|
|
genericFunctionType,
|
|
|
|
|
|
|
|
|
|
genericTypeAlias,
|
|
|
|
|
|
|
|
|
|
hideCombinator,
|
|
|
|
|
|
|
|
|
|
ifElement,
|
|
|
|
|
|
|
|
|
|
ifStatement,
|
|
|
|
|
|
|
|
|
|
implementsClause,
|
|
|
|
|
|
|
|
|
|
importDirective,
|
|
|
|
|
|
|
|
|
|
instanceCreationExpression,
|
|
|
|
|
|
|
|
|
|
indexExpression,
|
|
|
|
|
|
|
|
|
|
integerLiteral,
|
|
|
|
|
|
|
|
|
|
interpolationExpression,
|
|
|
|
|
|
|
|
|
|
interpolationString,
|
|
|
|
|
|
|
|
|
|
isExpression,
|
|
|
|
|
|
|
|
|
|
label,
|
|
|
|
|
|
|
|
|
|
labeledStatement,
|
|
|
|
|
|
|
|
|
|
libraryDirective,
|
|
|
|
|
|
|
|
|
|
libraryIdentifier,
|
|
|
|
|
|
|
|
|
|
listLiteral,
|
|
|
|
|
|
|
|
|
|
mapLiteralEntry,
|
|
|
|
|
|
|
|
|
|
methodDeclaration,
|
|
|
|
|
|
|
|
|
|
methodInvocation,
|
|
|
|
|
|
|
|
|
|
mixinDeclaration,
|
|
|
|
|
|
|
|
|
|
namedExpression,
|
|
|
|
|
|
|
|
|
|
nativeClause,
|
|
|
|
|
|
|
|
|
|
nativeFunctionBody,
|
|
|
|
|
|
|
|
|
|
nullLiteral,
|
|
|
|
|
|
|
|
|
|
onClause,
|
|
|
|
|
|
|
|
|
|
parenthesizedExpression,
|
|
|
|
|
|
|
|
|
|
partDirective,
|
|
|
|
|
|
|
|
|
|
partOfDirective,
|
|
|
|
|
|
|
|
|
|
postfixExpression,
|
|
|
|
|
|
|
|
|
|
prefixExpression,
|
|
|
|
|
|
|
|
|
|
prefixedIdentifier,
|
|
|
|
|
|
|
|
|
|
propertyAccess,
|
|
|
|
|
|
|
|
|
|
redirectingConstructorInvocation,
|
|
|
|
|
|
|
|
|
|
rethrowExpression,
|
|
|
|
|
|
|
|
|
|
returnStatement,
|
|
|
|
|
|
|
|
|
|
setOrMapLiteral,
|
|
|
|
|
|
|
|
|
|
showCombinator,
|
|
|
|
|
|
|
|
|
|
simpleFormalParameter,
|
|
|
|
|
|
|
|
|
|
simpleIdentifier,
|
|
|
|
|
|
|
|
|
|
simpleStringLiteral,
|
|
|
|
|
|
|
|
|
|
spreadElement,
|
|
|
|
|
|
|
|
|
|
stringInterpolation,
|
|
|
|
|
|
|
|
|
|
superConstructorInvocation,
|
|
|
|
|
|
|
|
|
|
superExpression,
|
|
|
|
|
|
|
|
|
|
switchCase,
|
|
|
|
|
|
|
|
|
|
switchDefault,
|
|
|
|
|
|
|
|
|
|
switchStatement,
|
|
|
|
|
|
|
|
|
|
symbolLiteral,
|
|
|
|
|
|
|
|
|
|
thisExpression,
|
|
|
|
|
|
|
|
|
|
throwExpression,
|
|
|
|
|
|
|
|
|
|
topLevelVariableDeclaration,
|
|
|
|
|
|
|
|
|
|
tryStatement,
|
|
|
|
|
|
|
|
|
|
typeArgumentList,
|
|
|
|
|
|
|
|
|
|
typeName,
|
|
|
|
|
|
|
|
|
|
typeParameter,
|
|
|
|
|
|
|
|
|
|
typeParameterList,
|
|
|
|
|
|
|
|
|
|
variableDeclaration,
|
|
|
|
|
|
|
|
|
|
variableDeclarationList,
|
|
|
|
|
|
|
|
|
|
variableDeclarationStatement,
|
|
|
|
|
|
|
|
|
|
whileStatement,
|
|
|
|
|
|
|
|
|
|
withClause,
|
|
|
|
|
|
|
|
|
|
yieldStatement,
|
|
|
|
|
|
|
|
|
|
extensionOverride
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Kinds of [LinkedNodeType]s.
|
|
|
|
|
enum LinkedNodeTypeKind : byte {
|
|
|
|
|
dynamic_,
|
|
|
|
|
|
|
|
|
|
function,
|
|
|
|
|
|
|
|
|
|
interface,
|
|
|
|
|
|
|
|
|
|
never,
|
|
|
|
|
|
|
|
|
|
typeParameter,
|
|
|
|
|
|
|
|
|
|
void_
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Enum used to indicate the kind of the error during top-level inference.
|
|
|
|
|
enum TopLevelInferenceErrorKind : byte {
|
|
|
|
|
assignment,
|
|
|
|
|
|
|
|
|
|
instanceGetter,
|
|
|
|
|
|
|
|
|
|
dependencyCycle,
|
|
|
|
|
|
|
|
|
|
overrideConflictFieldType,
|
|
|
|
|
|
|
|
|
|
overrideNoCombinedSuperSignature
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Enum of token types, corresponding to AST token types.
|
|
|
|
|
enum UnlinkedTokenType : byte {
|
|
|
|
|
NOTHING,
|
|
|
|
|
|
|
|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|
|
|
|
|
RETHROW,
|
|
|
|
|
|
|
|
|
|
RETURN,
|
|
|
|
|
|
|
|
|
|
SCRIPT_TAG,
|
|
|
|
|
|
|
|
|
|
SEMICOLON,
|
|
|
|
|
|
|
|
|
|
SET,
|
|
|
|
|
|
|
|
|
|
SHOW,
|
|
|
|
|
|
|
|
|
|
SINGLE_LINE_COMMENT,
|
|
|
|
|
|
|
|
|
|
SLASH,
|
|
|
|
|
|
|
|
|
|
SLASH_EQ,
|
|
|
|
|
|
|
|
|
|
SOURCE,
|
|
|
|
|
|
|
|
|
|
STAR,
|
|
|
|
|
|
|
|
|
|
STAR_EQ,
|
|
|
|
|
|
|
|
|
|
STATIC,
|
|
|
|
|
|
|
|
|
|
STRING,
|
|
|
|
|
|
|
|
|
|
STRING_INTERPOLATION_EXPRESSION,
|
|
|
|
|
|
|
|
|
|
STRING_INTERPOLATION_IDENTIFIER,
|
|
|
|
|
|
|
|
|
|
SUPER,
|
|
|
|
|
|
|
|
|
|
SWITCH,
|
|
|
|
|
|
|
|
|
|
SYNC,
|
|
|
|
|
|
|
|
|
|
THIS,
|
|
|
|
|
|
|
|
|
|
THROW,
|
|
|
|
|
|
|
|
|
|
TILDE,
|
|
|
|
|
|
|
|
|
|
TILDE_SLASH,
|
|
|
|
|
|
|
|
|
|
TILDE_SLASH_EQ,
|
|
|
|
|
|
|
|
|
|
TRUE,
|
|
|
|
|
|
|
|
|
|
TRY,
|
|
|
|
|
|
|
|
|
|
TYPEDEF,
|
|
|
|
|
|
|
|
|
|
VAR,
|
|
|
|
|
|
|
|
|
|
VOID,
|
|
|
|
|
|
|
|
|
|
WHILE,
|
|
|
|
|
|
|
|
|
|
WITH,
|
|
|
|
|
|
|
|
|
|
YIELD,
|
|
|
|
|
|
|
|
|
|
INOUT,
|
|
|
|
|
|
|
|
|
|
OUT
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about the context of an exception in analysis driver.
|
|
|
|
|
table AnalysisDriverExceptionContext {
|
|
|
|
|
/// The exception string.
|
|
|
|
|
@ -1010,17 +406,6 @@ table AvailableFileExportCombinator {
|
|
|
|
|
shows:[string] (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about linked libraries, a group of libraries that form
|
|
|
|
|
/// a library cycle.
|
|
|
|
|
table CiderLinkedLibraryCycle {
|
|
|
|
|
bundle:LinkedNodeBundle (id: 1);
|
|
|
|
|
|
|
|
|
|
/// The hash signature for this linked cycle. It depends of API signatures
|
|
|
|
|
/// of all files in the cycle, and on the signatures of the transitive
|
|
|
|
|
/// closure of the cycle dependencies.
|
|
|
|
|
signature:[uint] (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Errors for a single unit.
|
|
|
|
|
table CiderUnitErrors {
|
|
|
|
|
errors:[AnalysisDriverUnitError] (id: 1);
|
|
|
|
|
@ -1052,6 +437,9 @@ table DiagnosticMessage {
|
|
|
|
|
/// The zero-based offset from the start of the file to the beginning of the
|
|
|
|
|
/// source range associated with this message.
|
|
|
|
|
offset:uint (id: 3);
|
|
|
|
|
|
|
|
|
|
/// The URL of the message, if any.
|
|
|
|
|
url:string (id: 4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about the Dartdoc directives in an [AvailableFile].
|
|
|
|
|
@ -1063,257 +451,10 @@ table DirectiveInfo {
|
|
|
|
|
templateValues:[string] (id: 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table LinkedLanguageVersion {
|
|
|
|
|
major:uint (id: 0);
|
|
|
|
|
|
|
|
|
|
minor:uint (id: 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table LinkedLibraryLanguageVersion {
|
|
|
|
|
override2:LinkedLanguageVersion (id: 1);
|
|
|
|
|
|
|
|
|
|
package:LinkedLanguageVersion (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a linked AST node.
|
|
|
|
|
table LinkedNode {
|
|
|
|
|
/// The explicit or inferred return type of a function typed node.
|
|
|
|
|
variantField_24:LinkedNodeType (id: 24);
|
|
|
|
|
|
|
|
|
|
variantField_2:[LinkedNode] (id: 2);
|
|
|
|
|
|
|
|
|
|
variantField_4:[LinkedNode] (id: 4);
|
|
|
|
|
|
|
|
|
|
variantField_6:LinkedNode (id: 6);
|
|
|
|
|
|
|
|
|
|
variantField_7:LinkedNode (id: 7);
|
|
|
|
|
|
|
|
|
|
variantField_17:uint (id: 17);
|
|
|
|
|
|
|
|
|
|
variantField_8:LinkedNode (id: 8);
|
|
|
|
|
|
|
|
|
|
variantField_38:LinkedNodeTypeSubstitution (id: 38);
|
|
|
|
|
|
|
|
|
|
variantField_15:uint (id: 15);
|
|
|
|
|
|
|
|
|
|
variantField_28:UnlinkedTokenType (id: 28);
|
|
|
|
|
|
|
|
|
|
variantField_27:bool (id: 27);
|
|
|
|
|
|
|
|
|
|
variantField_9:LinkedNode (id: 9);
|
|
|
|
|
|
|
|
|
|
variantField_12:LinkedNode (id: 12);
|
|
|
|
|
|
|
|
|
|
variantField_5:[LinkedNode] (id: 5);
|
|
|
|
|
|
|
|
|
|
variantField_13:LinkedNode (id: 13);
|
|
|
|
|
|
|
|
|
|
variantField_33:[string] (id: 33);
|
|
|
|
|
|
|
|
|
|
variantField_29:LinkedNodeCommentType (id: 29);
|
|
|
|
|
|
|
|
|
|
variantField_3:[LinkedNode] (id: 3);
|
|
|
|
|
|
|
|
|
|
variantField_41:[uint] (id: 41);
|
|
|
|
|
|
|
|
|
|
/// The language version information.
|
|
|
|
|
variantField_40:LinkedLibraryLanguageVersion (id: 40);
|
|
|
|
|
|
|
|
|
|
variantField_10:LinkedNode (id: 10);
|
|
|
|
|
|
|
|
|
|
variantField_26:LinkedNodeFormalParameterKind (id: 26);
|
|
|
|
|
|
|
|
|
|
variantField_21:double (id: 21);
|
|
|
|
|
|
|
|
|
|
variantField_25:LinkedNodeType (id: 25);
|
|
|
|
|
|
|
|
|
|
variantField_20:string (id: 20);
|
|
|
|
|
|
|
|
|
|
variantField_39:[LinkedNodeType] (id: 39);
|
|
|
|
|
|
|
|
|
|
flags:uint (id: 18);
|
|
|
|
|
|
|
|
|
|
variantField_1:string (id: 1);
|
|
|
|
|
|
|
|
|
|
variantField_36:uint (id: 36);
|
|
|
|
|
|
|
|
|
|
variantField_16:uint (id: 16);
|
|
|
|
|
|
|
|
|
|
variantField_30:string (id: 30);
|
|
|
|
|
|
|
|
|
|
variantField_14:LinkedNode (id: 14);
|
|
|
|
|
|
|
|
|
|
kind:LinkedNodeKind (id: 0);
|
|
|
|
|
|
|
|
|
|
variantField_31:bool (id: 31);
|
|
|
|
|
|
|
|
|
|
variantField_34:[string] (id: 34);
|
|
|
|
|
|
|
|
|
|
name:string (id: 37);
|
|
|
|
|
|
|
|
|
|
variantField_35:UnlinkedTokenType (id: 35);
|
|
|
|
|
|
|
|
|
|
variantField_32:TopLevelInferenceError (id: 32);
|
|
|
|
|
|
|
|
|
|
variantField_23:LinkedNodeType (id: 23);
|
|
|
|
|
|
|
|
|
|
variantField_11:LinkedNode (id: 11);
|
|
|
|
|
|
|
|
|
|
variantField_22:string (id: 22);
|
|
|
|
|
|
|
|
|
|
variantField_19:uint (id: 19);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a group of libraries linked together, for example because
|
|
|
|
|
/// they form a single cycle, or because they represent a single build artifact.
|
|
|
|
|
table LinkedNodeBundle {
|
|
|
|
|
libraries:[LinkedNodeLibrary] (id: 1);
|
|
|
|
|
|
|
|
|
|
/// The shared list of references used in the [libraries].
|
|
|
|
|
references:LinkedNodeReferences (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a single library in a [LinkedNodeBundle].
|
|
|
|
|
table LinkedNodeLibrary {
|
|
|
|
|
exports:[uint] (id: 2);
|
|
|
|
|
|
|
|
|
|
name:string (id: 3);
|
|
|
|
|
|
|
|
|
|
nameLength:uint (id: 5);
|
|
|
|
|
|
|
|
|
|
nameOffset:uint (id: 4);
|
|
|
|
|
|
|
|
|
|
units:[LinkedNodeUnit] (id: 1);
|
|
|
|
|
|
|
|
|
|
uriStr:string (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Flattened tree of declarations referenced from [LinkedNode]s.
|
|
|
|
|
table LinkedNodeReferences {
|
|
|
|
|
name:[string] (id: 1);
|
|
|
|
|
|
|
|
|
|
parent:[uint] (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a Dart type.
|
|
|
|
|
table LinkedNodeType {
|
|
|
|
|
functionFormalParameters:[LinkedNodeTypeFormalParameter] (id: 0);
|
|
|
|
|
|
|
|
|
|
functionReturnType:LinkedNodeType (id: 1);
|
|
|
|
|
|
|
|
|
|
/// The typedef this function type is created for.
|
|
|
|
|
functionTypedef:uint (id: 9);
|
|
|
|
|
|
|
|
|
|
functionTypedefTypeArguments:[LinkedNodeType] (id: 10);
|
|
|
|
|
|
|
|
|
|
functionTypeParameters:[LinkedNodeTypeTypeParameter] (id: 2);
|
|
|
|
|
|
|
|
|
|
/// Reference to a [LinkedNodeReferences].
|
|
|
|
|
interfaceClass:uint (id: 3);
|
|
|
|
|
|
|
|
|
|
interfaceTypeArguments:[LinkedNodeType] (id: 4);
|
|
|
|
|
|
|
|
|
|
kind:LinkedNodeTypeKind (id: 5);
|
|
|
|
|
|
|
|
|
|
nullabilitySuffix:EntityRefNullabilitySuffix (id: 8);
|
|
|
|
|
|
|
|
|
|
typeParameterElement:uint (id: 6);
|
|
|
|
|
|
|
|
|
|
typeParameterId:uint (id: 7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a formal parameter in a function type.
|
|
|
|
|
table LinkedNodeTypeFormalParameter {
|
|
|
|
|
kind:LinkedNodeFormalParameterKind (id: 0);
|
|
|
|
|
|
|
|
|
|
name:string (id: 1);
|
|
|
|
|
|
|
|
|
|
type:LinkedNodeType (id: 2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a type substitution.
|
|
|
|
|
table LinkedNodeTypeSubstitution {
|
|
|
|
|
isLegacy:bool (id: 2);
|
|
|
|
|
|
|
|
|
|
typeArguments:[LinkedNodeType] (id: 1);
|
|
|
|
|
|
|
|
|
|
typeParameters:[uint] (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a type parameter in a function type.
|
|
|
|
|
table LinkedNodeTypeTypeParameter {
|
|
|
|
|
bound:LinkedNodeType (id: 1);
|
|
|
|
|
|
|
|
|
|
name:string (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Information about a single library in a [LinkedNodeLibrary].
|
|
|
|
|
table LinkedNodeUnit {
|
|
|
|
|
isSynthetic:bool (id: 2);
|
|
|
|
|
|
|
|
|
|
node:LinkedNode (id: 1);
|
|
|
|
|
|
|
|
|
|
/// If the unit is a part, the URI specified in the `part` directive.
|
|
|
|
|
/// Otherwise empty.
|
|
|
|
|
partUriStr:string (id: 3);
|
|
|
|
|
|
|
|
|
|
/// The absolute URI.
|
|
|
|
|
uriStr:string (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Summary information about a package.
|
|
|
|
|
table PackageBundle {
|
|
|
|
|
/// The version 2 of the summary.
|
|
|
|
|
bundle2:LinkedNodeBundle (id: 0);
|
|
|
|
|
|
|
|
|
|
/// The SDK specific data, if this bundle is for SDK.
|
|
|
|
|
sdk:PackageBundleSdk (id: 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Summary information about a package.
|
|
|
|
|
table PackageBundleSdk {
|
|
|
|
|
/// The content of the `allowed_experiments.json` from SDK.
|
|
|
|
|
allowedExperimentsJson:string (id: 0);
|
|
|
|
|
|
|
|
|
|
/// The language version of the SDK.
|
|
|
|
|
languageVersion:LinkedLanguageVersion (id: 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Summary information about a top-level type inference error.
|
|
|
|
|
table TopLevelInferenceError {
|
|
|
|
|
/// The [kind] specific arguments.
|
|
|
|
|
arguments:[string] (id: 1);
|
|
|
|
|
|
|
|
|
|
/// The kind of the error.
|
|
|
|
|
kind:TopLevelInferenceErrorKind (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table UnlinkedInformativeData {
|
|
|
|
|
variantField_2:uint (id: 2);
|
|
|
|
|
|
|
|
|
|
variantField_3:uint (id: 3);
|
|
|
|
|
|
|
|
|
|
variantField_9:uint (id: 9);
|
|
|
|
|
|
|
|
|
|
variantField_8:uint (id: 8);
|
|
|
|
|
|
|
|
|
|
/// Offsets of the first character of each line in the source code.
|
|
|
|
|
variantField_7:[uint] (id: 7);
|
|
|
|
|
|
|
|
|
|
variantField_6:uint (id: 6);
|
|
|
|
|
|
|
|
|
|
variantField_5:uint (id: 5);
|
|
|
|
|
|
|
|
|
|
/// If the parameter has a default value, the source text of the constant
|
|
|
|
|
/// expression in the default value. Otherwise the empty string.
|
|
|
|
|
variantField_10:string (id: 10);
|
|
|
|
|
|
|
|
|
|
variantField_1:uint (id: 1);
|
|
|
|
|
|
|
|
|
|
variantField_4:[string] (id: 4);
|
|
|
|
|
|
|
|
|
|
/// The kind of the node.
|
|
|
|
|
kind:LinkedNodeKind (id: 0);
|
|
|
|
|
fake:uint (id: 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Unlinked summary information about a namespace directive.
|
|
|
|
|
@ -1357,13 +498,14 @@ table UnlinkedUnit2 {
|
|
|
|
|
/// URIs of `import` directives.
|
|
|
|
|
imports:[UnlinkedNamespaceDirective] (id: 2);
|
|
|
|
|
|
|
|
|
|
informativeData:[UnlinkedInformativeData] (id: 7);
|
|
|
|
|
|
|
|
|
|
/// Offsets of the first character of each line in the source code.
|
|
|
|
|
lineStarts:[uint] (id: 5);
|
|
|
|
|
|
|
|
|
|
/// URI of the `part of` directive.
|
|
|
|
|
partOfUri:string (id: 8);
|
|
|
|
|
/// The library name of the `part of my.name;` directive.
|
|
|
|
|
partOfName:string (id: 8);
|
|
|
|
|
|
|
|
|
|
/// URI of the `part of 'uri';` directive.
|
|
|
|
|
partOfUri:string (id: 7);
|
|
|
|
|
|
|
|
|
|
/// URIs of `part` directives.
|
|
|
|
|
parts:[string] (id: 4);
|
|
|
|
|
|