Class NoMacros
java.lang.Object
weka.core.expressionlanguage.common.NoMacros
- All Implemented Interfaces:
MacroDeclarations
A macro declarations that contains no macros at all
- Version:
- $Revision: 1000 $
- Author:
- Benjamin Weber ( benweber at student dot ethz dot ch )
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoMacros
public NoMacros()
-
-
Method Details
-
hasMacro
Whether the macro is declared. Always returnsfalse- Specified by:
hasMacroin interfaceMacroDeclarations- Parameters:
name- name of the macro- Returns:
- whether the macro is declared. Always
false.
-
getMacro
Tries to fetch a macro. Will always fail. The same invariant ofMacroDeclarationsapplies here too.- Specified by:
getMacroin interfaceMacroDeclarations- Parameters:
name- name of the macro- Returns:
- nothing
-