Crate near_syn[][src]

Provides function to deal with Rust syntax.

Modules

ts

Functions to transpile Rust to TypeScript.

Macros

Args

Defines the Args to be used in binaries.

Traits

NearImpl

Defines standard attributes found in the Near SDK.

NearMethod

Defines standard attributes and helper methods used when exporting a contract.

NearStruct

Defines helper methods to deal with Near structs.

Functions

join_path

Joins segments of path by ::.

parse_rust

Returns the Rust syntax tree for the given file_name path. Panics if the file cannot be open or the file has syntax errors.

write_docs

Writes Rust doc comments to file. Each line of doc is prefixed with prefix.