{"id":6725,"date":"2015-03-26T10:00:16","date_gmt":"2015-03-26T01:00:16","guid":{"rendered":"http:\/\/www.techscore.com\/blog\/?p=6725"},"modified":"2018-11-14T16:33:48","modified_gmt":"2018-11-14T07:33:48","slug":"groovy-%e3%81%a7-ast-%e5%a4%89%e6%8f%9b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.techscore.com\/blog\/2015\/03\/26\/groovy-%e3%81%a7-ast-%e5%a4%89%e6%8f%9b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f\/","title":{"rendered":"Groovy \u3067 AST \u5909\u63db\u3057\u3066\u307f\u305f"},"content":{"rendered":"<p>\u521d\u3081\u307e\u3057\u3066\u3001\u7530\u4e2d\u3068\u7533\u3057\u307e\u3059\u3002\"Groovy\" \u3068\u805e\u3051\u3070\u3001\u307e\u305a\u300c\u6c17\u5206\u306f\u30b0\u30eb\u30fc\u30d3\u30fc\u300d\u3068\u3044\u3046\u9752\u6625\u6f2b\u753b\u3092\u601d\u3044\u51fa\u3059\u3001\u305d\u3093\u306a\u4e16\u4ee3\u306e\u4eba\u9593\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001Groovy \u3067\u3059\u304c\u3001\u300cGradle \u3092\u4f7f\u3046\u305f\u3081\u306b\u4ed5\u65b9\u306a\u304f\u899a\u3048\u308b\u8a00\u8a9e\u300d\u3068\u601d\u3063\u3066\u3044\u307e\u305b\u3093\u304b\uff1f<\/p>\n<p>\u79c1\u306f\u3001\u53e4\u3044\u30b7\u30b9\u30c6\u30e0\u306e\u6539\u4fee\u306e\u4e00\u74b0\u3068\u3057\u3066 Ant \u3092 Gradle \u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u306b\u306a\u308a\u3001\u6700\u8fd1 Groovy \u3092\u4f7f\u3044\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001\u5f53\u521d\u306f\u305d\u306e\u3088\u3046\u306b\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3068\u3001\u7d50\u69cb\u4fbf\u5229\u3060\u3057\u3001\u306a\u304b\u306a\u304b\u8208\u5473\u6df1\u3044\u8a00\u8a9e\u3060\u3068\u611f\u3058\u307e\u3059\u3002\u3068\u308a\u308f\u3051\u3001\u3059\u3054\u3044\u3068\u601d\u3063\u305f\u306e\u304c\u300c<strong>AST \u5909\u63db<\/strong>\u300d\u3067\u3059\u3002<\/p>\n<h2>AST \u5909\u63db\u3068\u306f<\/h2>\n<p>Groovy \u306e\u30b3\u30fc\u30c9\u306f\u3001\u6700\u7d42\u7684\u306b\u306f Java \u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u304c\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u3044\u304d\u306a\u308a\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u307e\u305a\u6587\u6cd5\u69cb\u9020\u3092\u30c4\u30ea\u30fc\u5f62\u5f0f\u3067\u8868\u3057\u305f <strong>AST<\/strong> (<strong>Abstract Syntax Tree<\/strong>\uff1a\u62bd\u8c61\u69cb\u6587\u6728) \u3068\u547c\u3070\u308b\u4e2d\u9593\u8868\u73fe\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u306e AST \u3092\u64cd\u4f5c\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u9020\u3092\u66f8\u304d\u63db\u3048\u308b\u306e\u304c AST \u5909\u63db\u3067\u3059\u3002<\/p>\n<p>AST \u5909\u63db\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u884c\u308f\u308c\u308b\u306e\u3067\u5b9f\u884c\u6642\u306b\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u304b\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Groovy \u306e AST \u5909\u63db\u306b\u306f\u300c<strong>\u30b0\u30ed\u30fc\u30d0\u30eb AST \u5909\u63db<\/strong>\u300d\u3068\u300c<strong>\u30ed\u30fc\u30ab\u30eb AST \u5909\u63db<\/strong>\u300d\u304c\u3042\u308a\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53\u3092\u5bfe\u8c61\u3068\u3059\u308b\u306e\u304c\u30b0\u30ed\u30fc\u30d0\u30eb AST \u5909\u63db\u3001\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u8981\u7d20\u3060\u3051\u3092\u5bfe\u8c61\u3068\u3059\u308b\u306e\u304c\u30ed\u30fc\u30ab\u30eb AST \u5909\u63db\u3067\u3059\u3002<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb AST \u5909\u63db\u306e\u305f\u3081\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001Groovy \u306e API \u306b\u6a19\u6e96\u3067\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3 @Singleton \u3067\u3059\u304c\u3001<\/p>\n<pre class=\"lang:java decode:true\">@Singleton\r\nclass Foo {\r\n}\r\n\r\nFoo.instance \/\/ Foo \u306e\u552f\u4e00\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30d5\u30a3\u30fc\u30eb\u30c9 instance \u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\r\nnew Foo()    \/\/ RuntimeException \u304c\u767a\u751f\r\n<\/pre>\n<p>\u30af\u30e9\u30b9\u306b\u4ed8\u3051\u308b\u3060\u3051\u3067 AST \u5909\u63db\u304c\u884c\u308f\u308c\u3001\u305d\u306e\u30af\u30e9\u30b9\u306e\u552f\u4e00\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30d5\u30a3\u30fc\u30eb\u30c9 instance \u306b\u683c\u7d0d\u3055\u308c\u3001new \u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u3088\u3046\u3068\u3059\u308b\u3068 RuntimeException \u304c\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u3084\u3063\u3066\u307f\u305f<\/h2>\n<p>\u3068\u306b\u304b\u304f\u3001\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u306a\u3044\u3068\u826f\u304f\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u3001<br \/>\n\u300c\u30e1\u30bd\u30c3\u30c9\u306e\u958b\u59cb\u6642\u3068\u7d42\u4e86\u6642\u306b\u6587\u5b57\u5217(\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 \"\u307b\u3052\u307b\u3052\" )\u3068\u51fa\u529b\u3055\u305b\u308b\u300d<br \/>\n\u3060\u3051\u306e\u5168\u304f\u7121\u610f\u5473\u306a\u30ed\u30fc\u30ab\u30eb AST \u5909\u63db\u3092\u884c\u3046\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u3001\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<p>\u25cf\u00a0HogeHoge.groovy<\/p>\n<pre class=\"lang:java decode:true\" title=\"HogeHoge.groovy\">import java.lang.annotation.ElementType\r\nimport java.lang.annotation.Retention\r\nimport java.lang.annotation.RetentionPolicy\r\nimport java.lang.annotation.Target\r\nimport org.codehaus.groovy.transform.GroovyASTTransformationClass\r\n\r\n@Retention(RetentionPolicy.SOURCE)  \/\/ \u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u306b\u306fAST\u5909\u63db\u306e\u60c5\u5831\u306f\u4e0d\u8981\r\n@Target([ElementType.METHOD])       \/\/ \u5bfe\u8c61\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u307f\r\n@GroovyASTTransformationClass('HogeHogeTransformation')\r\npublic @interface HogeHoge {\r\n  String value() default '\u307b\u3052\u307b\u3052'\r\n}<\/pre>\n<p>AST \u5909\u63db\u306e\u5b9f\u88c5\u30af\u30e9\u30b9\u3092\u6307\u5b9a\u3059\u308b\u30e1\u30bf\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3 @GroovyASTTransformationClass \u4ee5\u5916\u306f\u3001Java \u3067\u72ec\u81ea\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u5834\u5408\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\n(\u6ce8\uff1a@Target \u306e\u5f15\u6570\u304c { } \u3067\u306f\u306a\u304f\u3001[ ] \u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u3001Groovy \u306e\u6587\u6cd5\u306e\u90fd\u5408\u3067\u3059\u3002)<\/p>\n<p>\u6b21\u304c AST \u5909\u63db\u306e\u5b9f\u88c5\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<p>\u25cf\u00a0HogeHogeTransformation.groovy<\/p>\n<pre class=\"lang:java decode:true\" title=\"HogeHogeTransformation.groovy\">import org.codehaus.groovy.ast.ASTNode\r\nimport org.codehaus.groovy.ast.builder.AstBuilder\r\nimport org.codehaus.groovy.control.CompilePhase\r\nimport org.codehaus.groovy.control.SourceUnit\r\nimport org.codehaus.groovy.transform.ASTTransformation\r\nimport org.codehaus.groovy.transform.GroovyASTTransformation\r\n\r\n\/\/ CompilePhase\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\r\n@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)\r\npublic class HogeHogeTransformation implements ASTTransformation {\r\n\r\n  @Override\r\n  \/\/ astNodes[0] : \u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u3059\u30ce\u30fc\u30c9\r\n  \/\/ astNodes[1] : \u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u3064\u3051\u3089\u308c\u305f\u8981\u7d20(\u4eca\u306e\u5834\u5408\u306f\u30e1\u30bd\u30c3\u30c9)\u3092\u8868\u3059\u30ce\u30fc\u30c9\r\n  \/\/ sourceUnit  : \u30b0\u30ed\u30fc\u30d0\u30ebAST\u5909\u63db\u3067\u4f7f\u7528(\u4eca\u306f\u4e0d\u8981)\r\n  public void visit(ASTNode[] astNodes, SourceUnit sourceUnit) {\r\n    def (annotationNode, annotatedNode) = astNodes\r\n\r\n    \/\/ \u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u5f15\u6570\u3092\u53d6\u5f97\r\n    \/\/ (\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u5074\u3067\u6307\u5b9a\u3057\u305f\u5024\u3092\u53d6\u5f97\u3057\u305f\u304b\u3063\u305f\u304c\u3001\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u4ed5\u65b9\u306a\u304f\u3053\u3053\u3067\u8a2d\u5b9a)\r\n    def value = annotationNode.getMember('value')?.value ?: '\u307b\u3052\u307b\u3052'\r\n\r\n    \/\/ \u30e1\u30bd\u30c3\u30c9\u306e\u59cb\u3081\u3068\u7d42\u308f\u308a\u306bprintln\u3092\u633f\u5165\r\n    annotatedNode.code.statements.with {\r\n      add(0, createPrintlnStatement(value))\r\n      add(createPrintlnStatement(value))\r\n    }\r\n  }\r\n\r\n  \/\/ \u300cprintln \u6587\u5b57\u5217\u300d\u3068\u3044\u3046\u30b3\u30fc\u30c9\u3092\u8868\u3059\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3059\r\n  def createPrintlnStatement(str) {\r\n    new AstBuilder().\r\n        buildFromString(\r\n          CompilePhase.SEMANTIC_ANALYSIS,\r\n          false, \/\/ \u623b\u308a\u5024\u306eList\u306e\u7b2c2\u8981\u7d20(\u5168\u4f53\u3092\u8868\u3059\u30ce\u30fc\u30c9)\u304c\u5fc5\u8981\u306a\u5834\u5408\u306ftrue\r\n          \"println '$str'\"\r\n        ).first()\r\n  }\r\n}<\/pre>\n<p>\u8981\u3059\u308b\u306b\u3001AST \u3092\u63a2\u7d22\u3059\u308b\u30e1\u30bd\u30c3\u30c9 visit \u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3001\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u30e1\u30bd\u30c3\u30c9\u3092\u8868\u3059\u30ce\u30fc\u30c9\u306e\u524d\u5f8c\u306b\u300cprintln \u6587\u5b57\u5217\u300d\u3068\u3044\u3046\u30b3\u30fc\u30c9\u3092\u8868\u3059\u30ce\u30fc\u30c9\u3092\u633f\u5165\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u3059\u3002\u3067\u306f\u3001\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u25cf HogeHogeExample.groovy<\/p>\n<pre class=\"lang:java decode:true \" title=\"HogeHogeTest.groovy\">\/\/ \u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306e\u5834\u5408\r\n@HogeHoge\r\ndef foo() {\r\n  println 'foo'\r\n}\r\n\r\n\/\/ \u5024\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\r\n@HogeHoge('\u3075\u304c\u3075\u304c')\r\ndef bar() {\r\n  println 'bar'\r\n}\r\n\r\nfoo()\r\nbar()<\/pre>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011 (Groovy 2.3.0, \u00a0CentOS7)<\/p>\n<pre class=\"striped:false nums:false nums-toggle:false lang:default highlight:0 decode:true\">&gt; groovyc HogeHoge.groovy HogeHogeTransformation.groovy\r\n&gt; groovy HogeHogeExample.groovy\r\n\u307b\u3052\u307b\u3052\r\nfoo\r\n\u307b\u3052\u307b\u3052\r\n\u3075\u304c\u3075\u304c\r\nbar\r\n\u3075\u304c\u3075\u304c<\/pre>\n<p>(\u6ce8\uff1aAST \u5909\u63db\u306e\u5b9f\u884c\u6642\u306b HogeHoge.class \u3068 HogeHogeTransformation.class \u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u4e88\u3081 groovyc \u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u307e\u3059\u3002)<\/p>\n<h2>Compile Phase<\/h2>\n<p>\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u4e2d\u306e\u00a0CompilePhase.SEMANTIC_ANALYSIS \u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>Groovy \u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306f 9 \u6bb5\u968e(phase)\u3067\u5b9f\u884c\u3055\u308c\u3001\u305d\u308c\u305e\u308c\u306e\u6bb5\u968e\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e Enum \u578b CompilePhase \u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p style=\"padding-left: 30px\">\u2460 INITIALIZATION (\u521d\u671f\u5316)<br \/>\n\u2461 PARSING (\u69cb\u6587\u89e3\u6790)<br \/>\n\u2462 CONVERSION (\u5909\u63db)<br \/>\n\u2463 SEMANTIC_ANALYSIS (\u610f\u5473\u89e3\u6790)<br \/>\n\u2464 CANONICALIZATION (\u6b63\u898f\u5316)<br \/>\n\u2465 INSTRUCTION_SELECTION (\u547d\u4ee4\u9078\u629e)<br \/>\n\u2466 CLASS_GENERATION (\u30af\u30e9\u30b9\u751f\u6210)<br \/>\n\u2467 OUTPUT (\u51fa\u529b)<br \/>\n\u2468 FINALIZATION (\u7d42\u4e86)<\/p>\n<p>\u2462 \u306e \u300c\u5909\u63db\u300d\u3068\u306f\u3001\u2461 \u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5206\u89e3\u3057\u305f\u30c8\u30fc\u30af\u30f3\u3067\u4f5c\u6210\u3055\u308c\u305f\u69cb\u6587\u6728(\u307e\u3060\u62bd\u8c61\u5316\u3055\u308c\u3066\u3044\u306a\u3044)\u3092 AST \u306b\u5909\u63db\u3059\u308b\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001AST \u304c\u3067\u304d\u305f\u5f8c\u306e\u72b6\u614b\u306b\u4ecb\u5165\u3059\u308b\u306e\u3067\u3001\u2462 \u306e\u6b21\u306e \u2463 SEMANTIC_ANALYSIS \u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u3002<\/p>\n<h2>\u6700\u5f8c\u306b<\/h2>\n<p>\u306a\u3093\u3068\u306a\u304f AST \u5909\u63db\u306b\u3064\u3044\u3066\u5206\u304b\u3063\u305f\u3088\u3046\u306a\u6c17\u306b\u306a\u308a\u307e\u3057\u305f\u3001\u3088\u306d\uff1f<br \/>\n\u52ff\u8ad6\u3001\u5b9f\u969b\u306b\u5f79\u7acb\u3061\u3001\u304b\u3064\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u306b\u306f\u3001AST \u306e\u69cb\u9020\u306b\u3064\u3044\u3066\u3084\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u3001\u3082\u3063\u3068\u52c9\u5f37\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u304c......<\/p>\n<p>\u73fe\u72b6\u3067\u306f\u4eca\u3072\u3068\u3064\u30d1\u30c3\u3068\u3057\u306a\u3044 Groovy \u3067\u3059\u304c\u3001\u5b9f\u306f\u7d50\u69cb\u3059\u3054\u3044\u30e4\u30c4\u306a\u3093\u3060\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u3063\u3066\u9802\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p>\u5c1a\u3001\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u307e\u3057\u305f\u3002<br \/>\n\u30fb<a href=\"http:\/\/glaforge.appspot.com\/article\/groovy-ast-transformations-tutorials\" target=\"_blank\">http:\/\/glaforge.appspot.com\/article\/groovy-ast-transformations-tutorials<\/a> \u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u8a18\u4e8b<br \/>\n\u30fb\u95a2\u8c37\u548c\u611b\u30fb\u4e0a\u539f\u6f64\u4e8c\u30fb\u9808\u6c5f\u4fe1\u6d0b\u30fb\u4e2d\u91ce\u9756\u6cbb (2011)\u300e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0GROOVY\u300f\u6280\u8853\u8a55\u8ad6\u793e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u521d\u3081\u307e\u3057\u3066\u3001\u7530\u4e2d\u3068\u7533\u3057\u307e\u3059\u3002\"Groovy\" \u3068\u805e\u3051\u3070\u3001\u307e\u305a\u300c\u6c17\u5206\u306f\u30b0\u30eb\u30fc\u30d3\u30fc\u300d\u3068\u3044\u3046\u9752\u6625\u6f2b\u753b\u3092\u601d\u3044\u51fa\u3059\u3001\u305d\u3093\u306a\u4e16\u4ee3\u306e\u4eba\u9593\u3067\u3059\u3002<br \/><a href=\"https:\/\/www.techscore.com\/blog\/2015\/03\/26\/groovy-%e3%81%a7-ast-%e5%a4%89%e6%8f%9b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f\/\">\u7d9a\u304d\u3092\u8aad\u3080...<\/a><\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[180,179,57],"_links":{"self":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/6725"}],"collection":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/comments?post=6725"}],"version-history":[{"count":117,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/6725\/revisions"}],"predecessor-version":[{"id":6893,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/6725\/revisions\/6893"}],"wp:attachment":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/media?parent=6725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/categories?post=6725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/tags?post=6725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}