Class Camel.CStyle

  • All Implemented Interfaces:
    Macro
    Enclosing class:
    Camel

    public static class Camel.CStyle
    extends java.lang.Object
    implements Macro
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      CStyle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String evaluate​(Input in, Processor processor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax0.jamal.api.Macro

        getId
    • Constructor Detail

      • CStyle

        public CStyle()