WIP: dev #1
@@ -565,6 +565,8 @@ public class Parser
|
|||||||
return new NodeTypeChar(TokensFrom(startIndex));
|
return new NodeTypeChar(TokensFrom(startIndex));
|
||||||
case "bool":
|
case "bool":
|
||||||
return new NodeTypeBool(TokensFrom(startIndex));
|
return new NodeTypeBool(TokensFrom(startIndex));
|
||||||
|
case "int":
|
||||||
|
return new NodeTypeSInt(TokensFrom(startIndex), 64);
|
||||||
case "i8":
|
case "i8":
|
||||||
return new NodeTypeSInt(TokensFrom(startIndex), 8);
|
return new NodeTypeSInt(TokensFrom(startIndex), 8);
|
||||||
case "i16":
|
case "i16":
|
||||||
@@ -573,6 +575,8 @@ public class Parser
|
|||||||
return new NodeTypeSInt(TokensFrom(startIndex), 32);
|
return new NodeTypeSInt(TokensFrom(startIndex), 32);
|
||||||
case "i64":
|
case "i64":
|
||||||
return new NodeTypeSInt(TokensFrom(startIndex), 64);
|
return new NodeTypeSInt(TokensFrom(startIndex), 64);
|
||||||
|
case "uint":
|
||||||
|
return new NodeTypeUInt(TokensFrom(startIndex), 64);
|
||||||
case "u8":
|
case "u8":
|
||||||
return new NodeTypeUInt(TokensFrom(startIndex), 8);
|
return new NodeTypeUInt(TokensFrom(startIndex), 8);
|
||||||
case "u16":
|
case "u16":
|
||||||
|
|||||||
Reference in New Issue
Block a user