53 lines
1.2 KiB
Text
53 lines
1.2 KiB
Text
=== tests/cases/compiler/arrayAssignmentTest6.ts ===
|
|
module Test {
|
|
>Test : typeof Test
|
|
|
|
interface IState {
|
|
>IState : IState
|
|
}
|
|
interface IToken {
|
|
>IToken : IToken
|
|
|
|
startIndex: number;
|
|
>startIndex : number
|
|
}
|
|
interface ILineTokens {
|
|
>ILineTokens : ILineTokens
|
|
|
|
tokens: IToken[];
|
|
>tokens : IToken[]
|
|
>IToken : IToken
|
|
|
|
endState: IState;
|
|
>endState : IState
|
|
>IState : IState
|
|
}
|
|
interface IMode {
|
|
>IMode : IMode
|
|
|
|
tokenize(line:string, state:IState, includeStates:boolean):ILineTokens;
|
|
>tokenize : (line: string, state: IState, includeStates: boolean) => ILineTokens
|
|
>line : string
|
|
>state : IState
|
|
>IState : IState
|
|
>includeStates : boolean
|
|
>ILineTokens : ILineTokens
|
|
}
|
|
export class Bug implements IMode {
|
|
>Bug : Bug
|
|
>IMode : IMode
|
|
|
|
public tokenize(line:string, tokens:IToken[], includeStates:boolean):ILineTokens {
|
|
>tokenize : (line: string, tokens: IToken[], includeStates: boolean) => ILineTokens
|
|
>line : string
|
|
>tokens : IToken[]
|
|
>IToken : IToken
|
|
>includeStates : boolean
|
|
>ILineTokens : ILineTokens
|
|
|
|
return null;
|
|
>null : null
|
|
}
|
|
}
|
|
}
|
|
|