Skip to content

Commit 022b8ad

Browse files
committed
update std/jule/sema
1 parent 4510fef commit 022b8ad

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/std/jule-sema.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[Variables](#variables)\
66
[fn AnalyzePackage\(mut files: \[\]&ast::AST, mut importer: Importer, flags: int\): \(&Package, \[\]log::Log\)](#analyzepackage)\
77
[fn AnalyzeFile\(mut f: &ast::AST, mut importer: Importer, flags: int\): \(&SymTab, \[\]log::Log\)](#analyzefile)\
8+
[fn Fastmemcopy\(mut t: &Type\): \(r: bool\)](#fastmemcopy)\
89
[trait Importer](#importer)\
910
[trait Kind](#kind)\
1011
[trait Lookup](#lookup)\
@@ -306,6 +307,12 @@ semantic analyzer used nil importer.
306307
```
307308

308309

310+
## Fastmemcopy
311+
```jule
312+
fn Fastmemcopy(mut t: &Type): (r: bool)
313+
```
314+
Reports whether type supports fastmemcopy implementation\. Which is highly optimized variant of the built\-in copy function\.
315+
309316
## Importer
310317
```jule
311318
trait Importer {
@@ -1913,7 +1920,7 @@ struct TypeAlias {
19131920
Token: &token::Token
19141921
Name: str
19151922
TypeSym: &TypeSym
1916-
Generics: []&TypeAlias // See developer reference (1).
1923+
Generics: []&ast::Generic // See the developer reference (3).
19171924
}
19181925
```
19191926
Type alias\.

0 commit comments

Comments
 (0)