public class JavaScriptTarget extends Target
targetCharValueEscape| Constructor | Description |
|---|---|
JavaScriptTarget() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
encodeIntAsCharEscape(int v) |
Convert an int to a JavaScript Unicode character literal.
|
String |
getTarget64BitStringFromValue(long word) |
Convert long to two 32-bit numbers separted by a comma.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenRecognizerFile, genRecognizerHeaderFile, getMaxCharValue, getTargetCharLiteralFromANTLRCharLiteral, getTargetStringLiteralFromANTLRStringLiteral, getTargetStringLiteralFromString, getTargetStringLiteralFromString, getTokenTypeAsTargetLabel, isValidActionScope, performGrammarAnalysis, postProcessAction, useBaseTemplatesForSynPredFragmentspublic String encodeIntAsCharEscape(int v)
encodeIntAsCharEscape in class Targetpublic String getTarget64BitStringFromValue(long word)
getTarget64BitStringFromValue in class TargetCopyright © 1992–2018 ANTLR. All rights reserved.