: new( str: String, dup: bool = true )  ->  StringScanner
     StringScanner ֥Ȥޤstr ϥ
    ݤʸǤdup  true λʣǻȤޤޤ
    ξǤ StringScanner ݻʸfreeze ޤ

