code multimethod

Methods

code(a:AnyOf) Source: stdlib.ngs:1986
Convert to NGS code that would produce the type. Not fully functional yet. Namespaces are not supported.

Returns

Str
code(a:AllOf) Source: stdlib.ngs:2014
Convert to NGS code that would produce the type. Not fully functional yet. Namespaces are not supported.

Returns

Str
code(t:Type) Source: stdlib.ngs:2483
Convert a type to NGS code that would produce the type. Not fully functional yet. Namespaces are not supported.

Returns

Str
code(a:Arr) Source: stdlib.ngs:3650
Convert an array to NGS code that would produce the array when executed. Not fully functional yet.

Returns

Str
code(h:Hash) Source: stdlib.ngs:4135
Convert a Hash to NGS code that would produce the given Hash when executed. Not fully functional yet.

Returns

Str
code(b:Bool) Source: stdlib.ngs:4621
Convert a Bool to NGS code that would produce the given Bool when executed. Not fully functional yet.

Returns

Str
code(n:Int) Source: stdlib.ngs:4699
Convert an Int to NGS code that would produce the integer when executed. Not fully functional yet.

Returns

Str
code(s:Str) Source: stdlib.ngs:5129
Convert a Str to NGS code that would produce the string when executed. Not fully functional yet. BUG: Does not do escaping.

Returns

Str
code(p:CleanupPolicy) Source: stdlib.ngs:5914
Convert CleanupPolicy to code
code(n:Null) Source: stdlib.ngs:7839
Convert null to NGS code that would produce null when executed.

Returns

Str
code(r:AWS::InstanceRes)experimental
EXPERIMENTAL! Do not use! Converts Instance resources to NGS code. Right now it works in the most primitive way.
code(r:AWS2::InstanceRes)experimental
EXPERIMENTAL! Do not use! Converts Instance resources to NGS code. Right now it works in the most primitive way.
code(e:Any)
Security implications. Not to expose possible secrets (such as AWS_...) Do not remove unless you have alternative solution.