public class InterfaceDirectiveProcessor extends Object
Modifier and Type | Method and Description |
---|---|
static int |
functionTraitKind(FunctionNode func,
int default_kind)
Getter/Setter functions need to be declared with a specific
trait kind; do so here.
|
protected void |
verifyFunctionModifiers(FunctionNode f)
Validate that the modifiers used on a function are allowed
|
protected void verifyFunctionModifiers(FunctionNode f)
public static int functionTraitKind(FunctionNode func, int default_kind)
func
- - a FunctionNode.default_kind
- - the trait kind to use if the function
is not a getter or setter. Varies depending on caller's context.Copyright © 2016 The Apache Software Foundation. All rights reserved.