public class JavaScriptTarget extends Target
targetCharValueEscape
Constructor and Description |
---|
JavaScriptTarget() |
Modifier and Type | Method and 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.
|
genRecognizerFile, genRecognizerHeaderFile, getMaxCharValue, getTargetCharLiteralFromANTLRCharLiteral, getTargetStringLiteralFromANTLRStringLiteral, getTargetStringLiteralFromString, getTargetStringLiteralFromString, getTokenTypeAsTargetLabel, isValidActionScope, performGrammarAnalysis, postProcessAction
public String encodeIntAsCharEscape(int v)
encodeIntAsCharEscape
in class Target
public String getTarget64BitStringFromValue(long word)
getTarget64BitStringFromValue
in class Target
Copyright © 2020. All rights reserved.