Class FindExportableNodes

  • All Implemented Interfaces:
    NodeTraversal.Callback

    public class FindExportableNodes
    extends NodeTraversal.AbstractPostOrderCallback
    Records all of the symbols and properties that should be exported. Currently applies to: - function foo() {} - var foo = function() {} - foo.bar = function() {} - var FOO = ...; - foo.BAR = ...; FOO = BAR = 5; and var FOO = BAR = 5; are not supported because the annotation is ambiguous to whether it applies to all the variables or only the first one.