net.sourceforge.nrl.parser.ast
Interface IMultipleContextDeclaration
- All Superinterfaces:
- IDeclaration, INRLAstNode
- All Known Subinterfaces:
- IActionFragmentDeclaration, IValidationFragmentDeclaration
public interface IMultipleContextDeclaration
- extends IDeclaration
Any declaration that takes multiple contexts, with parameter names.
getContextNames
List<String> getContextNames()
- Return the assigned context names - the "parameter names". These all
become variables within the declaration.
- Returns:
- the names
getContextType
IModelElement getContextType(String name)
- Given a parameter name, return its type. This will never return null
after the AST has been resolved.
- Parameters:
name
- the parameter name
- Returns:
- its type
Copyright © 2006-2010 Christian Nentwich and others