     return 0 unless @chunk.charAt(0) is '{' and
     @currentState() in [$.CJSX_EL, $.CJSX_ATTR_PAIR, $.CJSX_ATTR_SPREAD]
 
-    @pushActiveBranchNode parseTreeBranchNode $.CJSX_ESC
+    @pushActiveBranchNode ParseTreeBranchNode $.CJSX_ESC
     @activeBranchNode().stack = 1 # keep track of opening and closing braces
     return 1
 

    return 0 unless @currentState() is $.CJSX_EL

    unless @newestNode().type is $.CJSX_TEXT
      @addLeafNodeToActiveBranch parseTreeLeafNode $.CJSX_TEXT, '' # init value as string

    # newestNode is (now) $.CJSX_TEXT
    @newestNode().value += @chunk.charAt 0

    return 0 if regex.indexOf("\n") > -1 # no newlines in a normal regex
    # Avoid conflicts with floor division operator.
    return 0 if regex is '//'
    @addLeafNodeToActiveBranch ParseTreeLeafNode $.CS_REGEX, match
    match.length

  # Matches multiline extended regular expressions.
