ASTNode constructor

ASTNode(
  1. String type, {
  2. bool isStatement = false,
  3. bool isAwait = false,
  4. bool isBlock = false,
  5. HTSource? source,
  6. int line = 0,
  7. int column = 0,
  8. int offset = 0,
  9. int length = 0,
})

Implementation

ASTNode(
  this.type, {
  this.isStatement = false,
  this.isAwait = false,
  this.isBlock = false,
  this.source,
  this.line = 0,
  this.column = 0,
  this.offset = 0,
  this.length = 0,
});