Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b38bfc18
Commit
b38bfc18
authored
Dec 13, 2017
by
soad003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Static Analysis: assert / require, fix comments, cleanup
parent
32a68276
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
staticAnalysisCommon.js
remix-solidity/src/analysis/modules/staticAnalysisCommon.js
+3
-5
No files found.
remix-solidity/src/analysis/modules/staticAnalysisCommon.js
View file @
b38bfc18
...
@@ -20,9 +20,7 @@ var nodeTypes = {
...
@@ -20,9 +20,7 @@ var nodeTypes = {
INLINEASSEMBLY
:
'InlineAssembly'
,
INLINEASSEMBLY
:
'InlineAssembly'
,
BLOCK
:
'Block'
,
BLOCK
:
'Block'
,
NEWEXPRESSION
:
'NewExpression'
,
NEWEXPRESSION
:
'NewExpression'
,
RETURN
:
'Return'
,
RETURN
:
'Return'
ASSERT
:
'assert'
,
REQUIRE
:
'require'
}
}
var
basicTypes
=
{
var
basicTypes
=
{
...
@@ -419,7 +417,7 @@ function isSelfdestructCall (node) {
...
@@ -419,7 +417,7 @@ function isSelfdestructCall (node) {
}
}
/**
/**
* True if node is a call to
assert
* True if node is a call to
builtin assert(bool)
* @node {ASTNode} some AstNode
* @node {ASTNode} some AstNode
* @return {bool}
* @return {bool}
*/
*/
...
@@ -428,7 +426,7 @@ function isAssertCall (node) {
...
@@ -428,7 +426,7 @@ function isAssertCall (node) {
}
}
/**
/**
* True if node is a call to
assert
* True if node is a call to
builtin require(bool)
* @node {ASTNode} some AstNode
* @node {ASTNode} some AstNode
* @return {bool}
* @return {bool}
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment