パッケージ | 説明 |
---|---|
org.unclazz.jp1ajs2.unitdef.parser |
修飾子とタイプ | メソッドと説明 |
---|---|
static ParseException |
ParseException.arg1ExpectedButFoundArg2(Input in,
char arg1,
char arg2) |
static ParseException |
ParseException.arg1NotFound(Input in,
String arg1) |
static ParseException |
ParseException.syntaxError(Input in) |
static ParseException |
ParseException.unexpectedError(Input in,
Throwable cause) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
ParseHelper.check(Input in,
char expected)
現在位置の文字が期待通りの文字かチェックする.
|
void |
ParseHelper.checkNext(Input in,
char expected)
現在位置の次の文字が期待通りの文字かチェックする.
|
void |
ParseHelper.checkWord(Input in,
String expected)
現在位置から始まる文字列が期待通りの文字列で始まるかどうかチェックする.
|
String |
ParseHelper.parseAbc(Input in)
'A' から'Z' もしくは'a' から'z' の
いずれかのみで構成される文字列を読み取って返す. |
String |
ParseHelper.parseAbc123_$(Input in)
'A' から'Z' 、'a' から'z' 、
'0' から'9' もしくは'_' と'$' の
いずれかのみで構成される文字列を読み取って返す. |
String |
ParseHelper.parseAbc123(Input in)
'A' から'Z' 、'a' から'z'
もしくは'0' から'9' の
いずれかのみで構成される文字列を読み取って返す. |
Double |
ParseHelper.parseNumber(Input in)
浮動小数点数を読み取って返す.
|
String |
ParseHelper.parseQuotedString(Input in)
引用符で囲われた文字列を読み取って返す.
|
String |
ParseHelper.parseRawString(Input in)
空白文字以外から構成される文字列を読み取って返す.
|
String |
ParseHelper.parseUntil(Input in,
char c0)
引数で指定された文字が現れる前の文字列を読み取ってを返す.
|
String |
ParseHelper.parseUntil(Input in,
char c0,
char c1)
引数で指定された文字が現れる前の文字列を読み取ってを返す.
|
String |
ParseHelper.parseUntil(Input in,
char c0,
char c1,
char c2)
引数で指定された文字が現れる前の文字列を読み取ってを返す.
|
void |
ParseHelper.skipComment(Input in)
コメントをスキップする.
|
void |
ParseHelper.skipWhitespace(Input in)
空白文字をスキップする.
|
void |
ParseHelper.skipWhitespaceWith(Input in,
char ch)
引数で指定された文字とともに空白文字をスキップする.
|
void |
ParseHelper.skipWhitespaceWith(Input in,
char ch0,
char ch1)
引数で指定された文字とともに空白文字をスキップする.
|
void |
ParseHelper.skipWhitespaceWith(Input in,
char ch0,
char ch1,
char ch2)
引数で指定された文字とともに空白文字をスキップする.
|
void |
ParseHelper.skipWord(Input in,
String word)
引数で指定された文字列をスキップする.
|
Copyright © 2016. All rights reserved.