java.lang.Object
javax0.jamal.extensions.Camel.CStyle
- All Implemented Interfaces:
javax0.jamal.api.Identified,javax0.jamal.api.Macro,javax0.jamal.api.ServiceLoaded
- Enclosing class:
- Camel
Converts the input into Cstyle variable name.
Converts a camel cased word into a C style all upper case variable name. For example
_thisIsACamelCaseWord -> THIS_IS_A_CAMEL_CASE_WORD
The separator is the first non-space character after the name of the macro. In the example it is underscore
but it can be
:thisIsACamelCaseWord -> THIS:IS:A:CAMEL:CASE:WORD-
Nested Class Summary
Nested classes/interfaces inherited from interface javax0.jamal.api.Identified
javax0.jamal.api.Identified.UndefinedNested classes/interfaces inherited from interface javax0.jamal.api.Macro
javax0.jamal.api.Macro.Stateful -
Field Summary
Fields inherited from interface javax0.jamal.api.Identified
DEFAULT_MACRO, MACRO_NAME_ARG1, MACRO_NAME_ARG2Fields inherited from interface javax0.jamal.api.Macro
FETCH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax0.jamal.api.Macro
fetch, getId, getIds, prefetch
-
Constructor Details
-
CStyle
public CStyle()
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfacejavax0.jamal.api.Macro
-