Improve python library, add LLGLTF asset parser, Add tests
This commit is contained in:
@@ -10,7 +10,7 @@ export class PythonTuple extends PythonObject
|
||||
|
||||
public static parse(container: PythonTokenContainer): PythonTuple
|
||||
{
|
||||
let expectingComma = true;
|
||||
let expectingComma = false;
|
||||
const tuple = new PythonTuple();
|
||||
do
|
||||
{
|
||||
@@ -48,6 +48,11 @@ export class PythonTuple extends PythonObject
|
||||
throw new Error('Expected ) end bracket in tuple')
|
||||
}
|
||||
|
||||
public get(index: number): PythonType | undefined
|
||||
{
|
||||
return this.data[index];
|
||||
}
|
||||
|
||||
get length(): number
|
||||
{
|
||||
return this.data.length;
|
||||
|
||||
Reference in New Issue
Block a user