mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-23 01:48:18 +00:00
update to use new set of SourceX classes
This commit is contained in:
@@ -331,6 +331,10 @@ class DeclaredVariableBlock extends DeclarationBlock {
|
||||
return this.varBlock ? this.varBlock.name : '';
|
||||
}
|
||||
|
||||
get name_token() {
|
||||
return this.varBlock ? this.varBlock.name_token : null;
|
||||
}
|
||||
|
||||
get type() {
|
||||
return this.varBlock ? this.varBlock.type : '';
|
||||
}
|
||||
@@ -475,6 +479,10 @@ class MethodBlock extends MCBlock {
|
||||
return this.varBlock.name;
|
||||
}
|
||||
|
||||
get name_token() {
|
||||
return this.varBlock.name_token;
|
||||
}
|
||||
|
||||
get type() {
|
||||
return this.varBlock.type + (this.postNameArrToken ? this.postNameArrToken.source : '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user