Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser finished #31

Merged
merged 1 commit into from
May 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions lib/src/classes/variants/variants/ConstantDeclaration.dart

This file was deleted.

3 changes: 3 additions & 0 deletions lib/src/classes/variants/variants/MethodDeclaration.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import '../ClassBody.dart';
import '../../classAST.dart';

enum MethodKind{
fixedParam
}
class MethodDeclaration implements ClassAST{
MethodDeclaration(this._value);
List _value;
Expand Down
17 changes: 17 additions & 0 deletions lib/src/classes/variants/variants/variants/FixedParam.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import '../MethodDeclaration.dart';
import '../../../classAST.dart';
import '../MethodDeclaration.dart';

class FixedParam implements ClassAST{
FixedParam(this._value);
List _value;

List get value {
return _value;
}

MethodKind get type{
return _type;
}
static final MethodKind _type = MethodKind.fixedParam;
}
14 changes: 6 additions & 8 deletions lib/src/namespaces/namespace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ enum NamespaceKind {
TypeDeclaration,
}

abstract class Namespace {
Namespace(this._value, this._kind);
class Namespace {
Namespace(this._value);

final String _value;
final NamespaceKind _kind;
List _value;


String get value {
List get value {
return _value;
}

NamespaceKind get kind {
return _kind;
}

}
Loading