Skip to content

Commit

Permalink
more cleanups, commenting and renames.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtaco committed Jan 24, 2012
1 parent 0a43c2a commit bf3ec76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
6 changes: 2 additions & 4 deletions lib/coffee-script/nodes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 8 additions & 11 deletions src/nodes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -251,25 +251,22 @@ exports.Base = class Base
child.tameCpsRotate()
this

tameIsCpsPivot : -> @tameCpsPivotFlag

tameNestContinuationBlock : (b) ->
@tameContinuationBlock = b

tameHasContinuation : -> @tameContinuationBlock

tameCallContinuation : ->
tameIsCpsPivot : -> @tameCpsPivotFlag
tameNestContinuationBlock : (b) -> @tameContinuationBlock = b
tameHasContinuation : -> @tameContinuationBlock
tameCallContinuation : ->
tameIsJump : NO

isStatement : NO
jumps : NO
isComplex : YES
isChainable : NO
isAssignable : NO
isControlBreak : NO
isLoop : NO

tameIsJump : NO

# tame AST node flags -- since we make several passes through the
# tree setting these bits, we'll actually just flip bits in the nodes,
# rather than setting function pointers to YES or NO.
tameLoopFlag : false
tameNodeFlag : false
tameGotCpsSplitFlag : false
Expand Down

0 comments on commit bf3ec76

Please sign in to comment.