public interface Symbol extends KbObject
SubLlanguage. Symbols are occasionally referenced in
CycLassertions, most notably those that denote
SubLfunctions that test for membership in a collection or perform simple functions like string manipulation or arithmetic.
|Modifier and Type||Method and Description|
Creates an instance of #$CycLSubLSymbol represented by symStr in the underlying KB.
equalsSemantically, getCore, getId, getQuotedIsa, getType, hasValidKbApiObjectType, isAtomic, isIndexical, isQuoted, isQuotedInstanceOf, isQuotedInstanceOf, isValidKbApiObjectType, possiblyResolveIndexical, quote, resolveIndexical, stringApiValue, toNlString, toQuoted, toString, toUnquoted, unquote
static Symbol get(String symStr) throws KbTypeException
SymbolService.get(java.lang.String); see that method's documentation for more details.
symStr- the string representing an #$CycLSubLSymbol in the KB
KbTypeException- Symbols are created on demand and are not expected to throw any exception
Copyright © 2015–2018 Cycorp, Inc. All rights reserved.