function (oPathValue, sEdmType) {
			var vValue = oPathValue.value;

			if (sEdmType === "String") {
				if (rI18n.test(vValue)) { // a simple binding to "@i18n" model
					return {
						ignoreTypeInPath : true,
						result : "binding",
						type : "Edm.String",
						value : vValue.slice(1, -1) // cut off "{" and "}"
					};
				}
			}

			return {
				result : "constant",
				type : mType2Type[sEdmType],
				value : vValue
			};
		}
function (oPathValue, sEdmType) {
			var vValue = oPathValue.value;

			if (sEdmType === "String") {
				if (rI18n.test(vValue)) { // a simple binding to "@i18n" model
					return {
						ignoreTypeInPath : true,
						result : "binding",
						type : "Edm.String",
						value : vValue.slice(1, -1) // cut off "{" and "}"
					};
				}
			}

			return {
				result : "constant",
				type : mType2Type[sEdmType],
				value : vValue
			};
		}
function ( oPathValue , sEdmType ) { var vValue = oPathValue . value ; if ( sEdmType === "String" ) { if ( rI18n . test ( vValue ) ) { // a simple binding to "@i18n" model return { ignoreTypeInPath : true , result : "binding" , type : "Edm.String" , value : vValue . slice ( 1 , - 1 ) // cut off "{" and "}" } ; } } return { result : "constant" , type : mType2Type [ sEdmType ] , value : vValue } ; }
Handling of "14.4 Constant Expressions", i.e.
<ul>
<li>"14.4.2 Expression edm:Bool",</li>
<li>"14.4.3 Expression edm:Date",</li>
<li>"14.4.4 Expression edm:DateTimeOffset",</li>
<li>"14.4.5 Expression edm:Decimal",</li>
<li>"14.4.8 Expression edm:Float",</li>
<li>"14.4.9 Expression edm:Guid",</li>
<li>"14.4.10 Expression edm:Int",</li>
<li>"14.4.11 Expression edm:String",</li>
<li>"14.4.12 Expression edm:TimeOfDay".</li>
</ul>

@param {object} oPathValue
path and value information pointing to the constant (see Expression object)
@param {string} sEdmType
the "edm:*" type of the constant, e.g. "Bool" or "Int" (incl. "Int32")
@returns {object}
the result object
Handling of 14 . 4 Constant Expressions i . e . <ul > <li > 14 . 4 . 2 Expression edm : Bool < / li > <li > 14 . 4 . 3 Expression edm : Date < / li > <li > 14 . 4 . 4 Expression edm : DateTimeOffset < / li > <li > 14 . 4 . 5 Expression edm : Decimal < / li > <li > 14 . 4 . 8 Expression edm : Float < / li > <li > 14 . 4 . 9 Expression edm : Guid < / li > <li > 14 . 4 . 10 Expression edm : Int < / li > <li > 14 . 4 . 11 Expression edm : String < / li > <li > 14 . 4 . 12 Expression edm : TimeOfDay . < / li > < / ul >
returns a binding object for the given path value