mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-24 10:30:54 +00:00
support token extraction in expressions
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
/**
|
||||
* @typedef {import('../tokenizer').Token} Token
|
||||
*/
|
||||
const { Statement } = require("./Statement");
|
||||
|
||||
class Block extends Statement {
|
||||
/** @type {Statement[]} */
|
||||
statements = [];
|
||||
|
||||
/**
|
||||
* @param {Token} open
|
||||
*/
|
||||
constructor(open) {
|
||||
super();
|
||||
this.open = open;
|
||||
}
|
||||
}
|
||||
|
||||
exports.Block = Block;
|
||||
|
||||
Reference in New Issue
Block a user