public class MethodState extends AbstractGroovyState
Modifier and Type | Method and Description |
---|---|
java.util.Stack<Parent> |
getParents() |
void |
handle(SourceParser p,
java.lang.String s,
int lineNumber)
Handle the current line of the file to parse.
|
static MethodState |
instance() |
void |
resetBlock() |
void |
setMethod(Method method) |
addMethodArguments, getMethodArgumentDecl, getMethodArgumentsTypes, getMethodName
public void setMethod(Method method)
public static MethodState instance()
public void resetBlock()
public java.util.Stack<Parent> getParents()
public void handle(SourceParser p, java.lang.String s, int lineNumber)
ParserState
p
- the state parsers
- the line to parselineNumber
- the lineNumberCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence