Summary

Strings are commonly converted to tokens in engine, to save space and speed up things like comparisons. We wrap this functionality up in the StringToken struct, because we can apply a bunch of compile time optimizations to speed up the conversion.

Constructors

StringToken

Fields

Value

Static Methods

Literal This is used by codegen. String literals are replaced by this function call, which avoids having to create or lookup the string token.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.