mirror of https://github.com/sbt/sbt.git
work on source api parts
This commit is contained in:
parent
7fab90da81
commit
dc7b7d5363
|
|
@ -1,10 +1,3 @@
|
||||||
Source
|
|
||||||
packages : Package*
|
|
||||||
definitions: Definition*
|
|
||||||
|
|
||||||
Package
|
|
||||||
name: String
|
|
||||||
|
|
||||||
Definition
|
Definition
|
||||||
name: String
|
name: String
|
||||||
access: Access
|
access: Access
|
||||||
|
|
@ -29,91 +22,3 @@ Definition
|
||||||
TypeDeclaration
|
TypeDeclaration
|
||||||
lowerBound: Type
|
lowerBound: Type
|
||||||
upperBound: Type
|
upperBound: Type
|
||||||
|
|
||||||
Type
|
|
||||||
SimpleType
|
|
||||||
Projection
|
|
||||||
prefix : SimpleType
|
|
||||||
id : String
|
|
||||||
ParameterRef
|
|
||||||
id: Int
|
|
||||||
Singleton
|
|
||||||
path: Path
|
|
||||||
EmptyType
|
|
||||||
Parameterized
|
|
||||||
baseType : SimpleType
|
|
||||||
typeArguments: Type*
|
|
||||||
Annotated
|
|
||||||
baseType : SimpleType
|
|
||||||
annotations : Annotation*
|
|
||||||
Structure
|
|
||||||
parents : Type*
|
|
||||||
declarations: Definition*
|
|
||||||
inherited: Definition*
|
|
||||||
Existential
|
|
||||||
baseType : Type
|
|
||||||
clause: TypeParameter*
|
|
||||||
Polymorphic
|
|
||||||
baseType: Type
|
|
||||||
parameters: TypeParameter*
|
|
||||||
|
|
||||||
Access
|
|
||||||
Public
|
|
||||||
Qualified
|
|
||||||
qualifier: Qualifier
|
|
||||||
Protected
|
|
||||||
Private
|
|
||||||
Pkg
|
|
||||||
|
|
||||||
Qualifier
|
|
||||||
Unqualified
|
|
||||||
ThisQualifier
|
|
||||||
IdQualifier
|
|
||||||
value: String
|
|
||||||
|
|
||||||
Modifiers
|
|
||||||
isAbstract: Boolean
|
|
||||||
isDeferred: Boolean
|
|
||||||
isOverride: Boolean
|
|
||||||
isFinal: Boolean
|
|
||||||
isSealed: Boolean
|
|
||||||
isImplicit: Boolean
|
|
||||||
isLazy: Boolean
|
|
||||||
isSynthetic: Boolean
|
|
||||||
|
|
||||||
ParameterList
|
|
||||||
parameters: MethodParameter*
|
|
||||||
isImplicit: Boolean
|
|
||||||
MethodParameter
|
|
||||||
name: String
|
|
||||||
tpe: Type
|
|
||||||
hasDefault: Boolean
|
|
||||||
modifier: ParameterModifier
|
|
||||||
|
|
||||||
TypeParameter
|
|
||||||
id: Int
|
|
||||||
typeParameters : TypeParameter*
|
|
||||||
variance: Variance
|
|
||||||
lowerBound: Type
|
|
||||||
upperBound: Type
|
|
||||||
|
|
||||||
Annotation
|
|
||||||
base: SimpleType
|
|
||||||
arguments: AnnotationArgument*
|
|
||||||
AnnotationArgument
|
|
||||||
name: String
|
|
||||||
value: String
|
|
||||||
|
|
||||||
enum Variance : Contravariant, Covariant, Invariant
|
|
||||||
enum ParameterModifier : Repeated, Plain, ByName
|
|
||||||
enum DefinitionType : Trait, ClassDef, Module, PackageModule
|
|
||||||
|
|
||||||
Path
|
|
||||||
components: PathComponent*
|
|
||||||
|
|
||||||
PathComponent
|
|
||||||
Super
|
|
||||||
qualifier: Path
|
|
||||||
This
|
|
||||||
Id
|
|
||||||
id: String
|
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
Source
|
||||||
|
packages : Package*
|
||||||
|
definitions: Definition*
|
||||||
|
|
||||||
|
Package
|
||||||
|
name: String
|
||||||
|
|
||||||
|
Access
|
||||||
|
Public
|
||||||
|
Qualified
|
||||||
|
qualifier: Qualifier
|
||||||
|
Protected
|
||||||
|
Private
|
||||||
|
Pkg
|
||||||
|
|
||||||
|
Qualifier
|
||||||
|
Unqualified
|
||||||
|
ThisQualifier
|
||||||
|
IdQualifier
|
||||||
|
value: String
|
||||||
|
|
||||||
|
Modifiers
|
||||||
|
isAbstract: Boolean
|
||||||
|
isDeferred: Boolean
|
||||||
|
isOverride: Boolean
|
||||||
|
isFinal: Boolean
|
||||||
|
isSealed: Boolean
|
||||||
|
isImplicit: Boolean
|
||||||
|
isLazy: Boolean
|
||||||
|
isSynthetic: Boolean
|
||||||
|
|
||||||
|
ParameterList
|
||||||
|
parameters: MethodParameter*
|
||||||
|
isImplicit: Boolean
|
||||||
|
MethodParameter
|
||||||
|
name: String
|
||||||
|
tpe: Type
|
||||||
|
hasDefault: Boolean
|
||||||
|
modifier: ParameterModifier
|
||||||
|
|
||||||
|
TypeParameter
|
||||||
|
id: Int
|
||||||
|
annotations: Annotation*
|
||||||
|
typeParameters : TypeParameter*
|
||||||
|
variance: Variance
|
||||||
|
lowerBound: Type
|
||||||
|
upperBound: Type
|
||||||
|
|
||||||
|
Annotation
|
||||||
|
base: SimpleType
|
||||||
|
arguments: AnnotationArgument*
|
||||||
|
AnnotationArgument
|
||||||
|
name: String
|
||||||
|
value: String
|
||||||
|
|
||||||
|
enum Variance : Contravariant, Covariant, Invariant
|
||||||
|
enum ParameterModifier : Repeated, Plain, ByName
|
||||||
|
enum DefinitionType : Trait, ClassDef, Module, PackageModule
|
||||||
|
|
||||||
|
Path
|
||||||
|
components: PathComponent*
|
||||||
|
|
||||||
|
PathComponent
|
||||||
|
Super
|
||||||
|
qualifier: Path
|
||||||
|
This
|
||||||
|
Id
|
||||||
|
id: String
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
|
||||||
|
Type
|
||||||
|
SimpleType
|
||||||
|
Projection
|
||||||
|
prefix : SimpleType
|
||||||
|
id : String
|
||||||
|
ParameterRef
|
||||||
|
id: Int
|
||||||
|
Singleton
|
||||||
|
path: Path
|
||||||
|
EmptyType
|
||||||
|
Parameterized
|
||||||
|
baseType : SimpleType
|
||||||
|
typeArguments: Type*
|
||||||
|
Annotated
|
||||||
|
baseType : SimpleType
|
||||||
|
annotations : Annotation*
|
||||||
|
Structure
|
||||||
|
parents : Type*
|
||||||
|
declared: Definition*
|
||||||
|
inherited: Definition*
|
||||||
|
Existential
|
||||||
|
baseType : Type
|
||||||
|
clause: TypeParameter*
|
||||||
|
Polymorphic
|
||||||
|
baseType: Type
|
||||||
|
parameters: TypeParameter*
|
||||||
Loading…
Reference in New Issue