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, wait
genRecognizerFile, genRecognizerHeaderFile, getMaxCharValue, getTargetCharLiteralFromANTLRCharLiteral, getTargetStringLiteralFromANTLRStringLiteral, getTargetStringLiteralFromString, getTargetStringLiteralFromString, getTokenTypeAsTargetLabel, isValidActionScope, performGrammarAnalysis, postProcessAction, useBaseTemplatesForSynPredFragments
public String encodeIntAsCharEscape(int v)
encodeIntAsCharEscape
in class Target
public String getTarget64BitStringFromValue(long word)
getTarget64BitStringFromValue
in class Target
Copyright © 1992–2019 ANTLR. All rights reserved.