sun.tools.java.ParserActions |
![]() |
This is the protocol by which a Parser makes callbacks to the later phases of the compiler.
(As a backwards compatibility trick, Parser implements this protocol, so that an instance of a Parser subclass can handle its own actions. The preferred way to use a Parser, however, is to instantiate it directly with a reference to your own ParserActions implementation.) WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Define class
| |||||||||||
Define a field
| |||||||||||
End class
| |||||||||||
import class
| |||||||||||
import package
| |||||||||||
package declaration
|
Define class
Define a field
c | a cookie returned by the corresponding beginClass call |
---|
End class
c | a cookie returned by the corresponding beginClass call |
---|