예제 #1
0
 internal SourceLocation GetStart(LocationResolver jsAst)
 {
     return(jsAst.IndexToLocation(GetSpan(jsAst).Start));
 }
예제 #2
0
 internal SourceLocation GetEnd(LocationResolver jsAst)
 {
     return(jsAst.IndexToLocation(GetSpan(jsAst).End));
 }
예제 #3
0
파일: JsAst.cs 프로젝트: Weflac/nodejstools
 internal SourceLocation IndexToLocation(int index)
 {
     return(_locationResolver.IndexToLocation(index));
 }