remix-astwalker
Remix sub-module for walking through AST
Last updated 5 months ago by yann300 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install remix-astwalker 
SYNC missed versions from official npm registry.

Remix ASTwalker

remix-astwalker module walks through solidity AST and spits out AST nodes.

Example

import { AstWalker } from "remix-astwalker";

const astWalker = new AstWalker();
astWalker.on("node", node => {
  if (node.nodeType === "ContractDefinition") {
    checkContract(st, node);
  }

  if (node.nodeType === "PragmaDirective") {
    checkProgramDirective(st, node);
  }
});

For more examples see tests.

Current Tags

  • 0.0.23                                ...           Dev2742 (7 months ago)
  • 0.0.25                                ...           latest (5 months ago)

24 Versions

  • 0.0.25                                ...           5 months ago
  • 0.0.24                                ...           7 months ago
  • 0.0.23                                ...           7 months ago
  • 0.0.22                                ...           7 months ago
  • 0.0.21                                ...           8 months ago
  • 0.0.20                                ...           9 months ago
  • 0.0.19                                ...           10 months ago
  • 0.0.18                                ...           10 months ago
  • 0.0.17                                ...           10 months ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 11
Last Day 0
Last Week 3
Last Month 16
Dependencies (6)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |