Remove RawBlockNode in favor of prepareRawBlock helper
This commit is contained in:
@@ -93,14 +93,6 @@ var AST = {
|
||||
}
|
||||
},
|
||||
|
||||
RawBlockNode: function(sexpr, content, locInfo) {
|
||||
LocationInfo.call(this, locInfo);
|
||||
|
||||
this.type = 'block';
|
||||
this.sexpr = sexpr;
|
||||
this.program = new AST.ProgramNode([content], {}, locInfo);
|
||||
},
|
||||
|
||||
ContentNode: function(string, locInfo) {
|
||||
LocationInfo.call(this, locInfo);
|
||||
this.type = "content";
|
||||
|
||||
Reference in New Issue
Block a user