このルールさえ押さえておけば、読んでいるコードが省略記法を使っていてもほぼ読めるようになります。
def concatAsString(a: Int, b: Int): String = {
val a_ = a.toString();
val b_ = b.toString();| <?php | |
| chdir(dirname(__FILE__)); | |
| // Clean argument values | |
| $phpStormRunner = null; | |
| $cleanedArgv = array(); | |
| foreach ($_SERVER['argv'] as $key => $value) { | |
| if (strpos($value, 'ide-phpunit.php') === false) { | |
| $cleanedArgv[] = $value; |
| package webdrivertest; | |
| import static org.openqa.selenium.support.ui.ExpectedConditions.titleIs; | |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.WebElement; | |
| import org.openqa.selenium.remote.RemoteWebDriver; | |
| import org.openqa.selenium.support.ui.Wait; | |
| import org.openqa.selenium.support.ui.WebDriverWait; |
| Node | |
| AbsNode | |
| AbsDNode | |
| AbsFNode | |
| AbsINode | |
| AddNode | |
| AddDNode | |
| AddFNode | |
| AddINode | |
| AddLNode |
| # To install the Python client library: | |
| # pip install -U selenium | |
| # Import the Selenium 2 namespace (aka "webdriver") | |
| from selenium import webdriver | |
| # iPhone | |
| driver = webdriver.Remote(browser_name="iphone", command_executor='http://172.24.101.36:3001/hub') | |
| # Android |
| <?xml version="1.0" ?> | |
| <project name="ant-with-groovy" default="test"> | |
| <taskdef name="groovy" | |
| classname="org.codehaus.groovy.ant.Groovy" | |
| classpath="groovy-all-1.7.2.jar" /> <!-- groovy-all-*.jar を指定 --> | |
| <target name="test"> | |
| <groovy><![CDATA[ | |
| // 例:古いディレクトリから新しいディレクトリにコピー | |
| def dirMap = [ |
| Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); | |
| var Ci = Components.interfaces; | |
| var Cc = Components.classes; | |
| var Language = { | |
| evaluators: { | |
| "jscript": "cscript //E:JScript //Nologo", | |
| "vbs" : "cscript //E:VBScript //Nologo", | |
| "ruby" : "ruby", |