All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.applic.expressions.literals.EscapingContext Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package cdc.applic.expressions.literals;

/**
 * Possible escaping contexts.
 * 

* Literals that must be escaped depend on that context. * * @author Damien Carbonne */ public enum EscapingContext { /** * The literal is: *

    *
  • a property name, *
  • an alias name (reference), *
  • a string item. *
* In that case, if the non escaped literal is a number or a boolean, it must be escaped.
* If the literal contains some separation characters or patterns, it must be escaped.
* Otherwise, it does not need to be escaped. */ NAME, /** * The literal is: *
    *
  • an integer item, *
  • a real item. *
* In that case, the literal MUST NOT be escaped. */ NUMBER, /** * The literal is: *
    *
  • a boolean item. *
* In that case, the literal MUST NOT be escaped. */ BOOLEAN }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy