class Format
class Format
lib/compiler/format/format.tya:2
Format provides the compiler/format/Format standard library API.
Source
# Format provides the compiler/format/Format standard library API.
class Format
# Format.format provides the compiler/format/Format standard library operation.
# @param source String source value.
# @return Any the resulting value.
format: source ->
compiler_format_format(source)
# Format.unparse provides the compiler/format/Format standard library operation.
# @param program Any program value.
# @return Any the resulting value.
unparse: program ->
compiler_format_unparse(program)
Methods
format
Format.format(source)
lib/compiler/format/format.tya:6
Format.format provides the compiler/format/Format standard library operation.
Source
# Format.format provides the compiler/format/Format standard library operation.
# @param source String source value.
# @return Any the resulting value.
format: source ->
compiler_format_format(source)
unparse
Format.unparse(program)
lib/compiler/format/format.tya:12
Format.unparse provides the compiler/format/Format standard library operation.
Source
# Format.unparse provides the compiler/format/Format standard library operation.
# @param program Any program value.
# @return Any the resulting value.
unparse: program ->
compiler_format_unparse(program)