Package com.google.javascript.jscomp
Class JsMessageDefinition
- java.lang.Object
-
- com.google.javascript.jscomp.JsMessageDefinition
-
public final class JsMessageDefinition extends java.lang.Object
Container class that holds information about JS message source. This class is specific to our JsMessage syntax. Allows you to use the new-style or the old-style messages. Old-style:var MSG_LEOPARD = 'Leopard'; var MSG_LEOPARD_HELP = 'The Leopard operating system';
New-style:/** @desc The leopard operating system * / var MSG_LEOPARD = goog.getMsg('Leopard');
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getMessageNode()
-
-
-
Method Detail
-
getMessageNode
public Node getMessageNode()
-
-