🎨 group storing arguments in constructor
This commit is contained in:
parent
8e28475dc1
commit
de9337f90c
@ -3,11 +3,11 @@ class Juicescript_lexer {
|
||||
CONSTRUCTOR: Return new juicescript lexer for SOURCE with OPTIONS
|
||||
*/
|
||||
constructor(source, options){
|
||||
// STORE SOURCE //
|
||||
// STORE ARGUMENTS //
|
||||
// source
|
||||
this.source = source;
|
||||
|
||||
|
||||
// STORE IO ADAPTER //
|
||||
// io adapter
|
||||
this.io = options.io;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user